add more language servers
This commit is contained in:
8
tasks/pkgs/nginxls.yml
Normal file
8
tasks/pkgs/nginxls.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/pipx.yml
|
||||||
|
when: pkgconfig_pipx is undefined
|
||||||
|
|
||||||
|
- name: add to pipxpkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
pipxpkgs: "{{ pipxpkgs + ['nginx-language-server'] }}"
|
||||||
8
tasks/pkgs/pyright.yml
Normal file
8
tasks/pkgs/pyright.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
- ansible.builtin.include_tasks:
|
||||||
|
file: pkgs/pipx.yml
|
||||||
|
when: pkgconfig_pipx is undefined
|
||||||
|
|
||||||
|
- name: add to pipxpkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
pipxpkgs: "{{ pipxpkgs + ['pyright'] }}"
|
||||||
9
tasks/pkgs/terraformls.yml
Normal file
9
tasks/pkgs/terraformls.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
---
|
||||||
|
- name: ensure hashicorp repo is active
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: "pkgs/hashicorp_repo.yml"
|
||||||
|
when: pkgconfig_hashicorp is undefined
|
||||||
|
|
||||||
|
- name: append to pkgs
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
tappkgs: "{{ tappkgs + [ pkgconfig_hashicorp.terraformls[ansible_system] ] }}"
|
||||||
@@ -15,6 +15,9 @@ nomad:
|
|||||||
terraform:
|
terraform:
|
||||||
Linux: terraform
|
Linux: terraform
|
||||||
Darwin: hashicorp/tap/terraform
|
Darwin: hashicorp/tap/terraform
|
||||||
|
terraformls:
|
||||||
|
Linux: terraform-ls
|
||||||
|
Darwin: hashicorp/tap/terraform-ls
|
||||||
vault:
|
vault:
|
||||||
Linux: vault
|
Linux: vault
|
||||||
Darwin: hashicorp/tap/vault
|
Darwin: hashicorp/tap/vault
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ pkgconfig:
|
|||||||
python3: {}
|
python3: {}
|
||||||
rust: {}
|
rust: {}
|
||||||
terraform: {}
|
terraform: {}
|
||||||
|
terraformls: {}
|
||||||
terrarepo: {}
|
terrarepo: {}
|
||||||
tidy: {}
|
tidy: {}
|
||||||
zfs: {}
|
zfs: {}
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
---
|
|
||||||
Darwin:
|
|
||||||
pkgs:
|
|
||||||
- hashicorp/tap/terraform
|
|
||||||
Linux:
|
|
||||||
pkgs:
|
|
||||||
- terraform
|
|
||||||
Reference in New Issue
Block a user