fix packages
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
- name: Set clangd config
|
||||
ansible.builtin.set_fact:
|
||||
clangd:
|
||||
pkgs: "{{ pkgconfig.clangd.pkg[ansible_os_family] }}"
|
||||
pkgs: "{{ pkgconfig.clangd.pkgs[ansible_os_family] }}"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- name: Set fd config
|
||||
ansible.builtin.set_fact:
|
||||
fd:
|
||||
pkgs: "{{ pkgconfig.fd.pkgs[ansible_os_famly] }}"
|
||||
pkgs: "{{ pkgconfig.fd.pkgs[ansible_system] }}"
|
||||
|
||||
@@ -3,7 +3,8 @@
|
||||
- name: Set go configuration
|
||||
ansible.builtin.set_fact:
|
||||
go:
|
||||
arch: "{{ pkgconfig_go.archmap[ansible_architecture] }}"
|
||||
method: archive
|
||||
arch: "{{ pkgconfig.go.archmap[ansible_architecture] }}"
|
||||
ext: "{{ pkgconfig.go.extmap[ansible_system] }}"
|
||||
sys: "{{ ansible_system | lower }}"
|
||||
vers: "{{ pkgconfig.go.version }}"
|
||||
@@ -11,11 +12,12 @@
|
||||
- name: Set go composite facts
|
||||
ansible.builtin.set_fact:
|
||||
go:
|
||||
method: archive
|
||||
arch: "{{ go.arch }}"
|
||||
archive: "go{{ go.ver }}.{{ go.sys }}-{{ go.arch }}.{{ pkgconfig_go.extmap[ansible_system] }}"
|
||||
archive: "go{{ go.vers }}.{{ go.sys }}-{{ go.arch }}.{{ pkgconfig.go.extmap[ansible_system] }}"
|
||||
ext: "{{ go.ext }}"
|
||||
inst_path: "{{ path.install }}/go"
|
||||
inst_path: "{{ path.prefix }}"
|
||||
sum: "{{ pkgconfig.go.sums[go.vers][ansible_system][go.arch] }}"
|
||||
sys: "{{ go.sys }}"
|
||||
url: "{{ pkgconfig.go.base_url }}/{{ go.archive }}"
|
||||
base_url: "{{ pkgconfig.go.base_url }}"
|
||||
vers: "{{ go.vers }}"
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
- name: Set libreoffice config
|
||||
ansible.builtin.set_fact:
|
||||
libreoffice:
|
||||
method: "{{ pkgconfig.libreoffice.method }}"
|
||||
method: "{{ pkgconfig.libreoffice.methods[ansible_distribution] | default(pkgconfig.libreoffice.methods.default) }}"
|
||||
flatpak: "{{ pkgconfig.libreoffice.flatpak }}"
|
||||
pkgs: "{{ pkgconfig.libreoffice[ansible_os_family] }}"
|
||||
pkgs: "{{ pkgconfig.libreoffice.pkgs[ansible_os_family] }}"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
- name: Set neovim install method
|
||||
ansible.builtin.set_fact:
|
||||
neovim:
|
||||
method: "{{ pkgconfig.neovim.method[ansible_distribution] | default(pkgconfig.neovim.method.default) }}"
|
||||
method: "{{ pkgconfig.neovim.methods[ansible_distribution] | default(pkgconfig.neovim.methods.default) }}"
|
||||
|
||||
- name: Set neovim config
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
4
tasks/config/nodejs.yml
Normal file
4
tasks/config/nodejs.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Set nodejs config
|
||||
ansible.builtin.set_fact:
|
||||
nodejs:
|
||||
pkgs: "{{ pkgconfig.nodejs.pkgs[ansible_system] }}"
|
||||
6
tasks/config/pgadmin.yml
Normal file
6
tasks/config/pgadmin.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
- name: Set pgadmin config
|
||||
ansible.builtin.set_fact:
|
||||
pgadmin:
|
||||
method: "{{ pkgconfig.pgadmin.methods[ansible_distribution] | default(pkgconfig.pgadmin.methods.default) }}"
|
||||
pkgs: "{{ pkgconfig.pgadmin.pkgs[ansible_system] }}"
|
||||
flatpak: "{{ pkgconfig.pgadmin.flatpak }}"
|
||||
4
tasks/config/terraform.yml
Normal file
4
tasks/config/terraform.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Set terraform config
|
||||
ansible.builtin.set_fact:
|
||||
terraform:
|
||||
pkgs: "{{ pkgconfig.terraform.pkgs[ansible_system] }}"
|
||||
4
tasks/config/terraformls.yml
Normal file
4
tasks/config/terraformls.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Set terraformls config
|
||||
ansible.builtin.set_fact:
|
||||
terraformls:
|
||||
pkgs: "{{ pkgconfig.terraformls.pkgs[ansible_system] }}"
|
||||
4
tasks/config/tidy.yml
Normal file
4
tasks/config/tidy.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Set tidy config
|
||||
ansible.builtin.set_fact:
|
||||
tidy:
|
||||
pkgs: "{{ pkgconfig.tidy.pkgs[ansible_system] }}"
|
||||
@@ -1,5 +1,9 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
version: 0.13.0
|
||||
install_prefix: "{{ default_install_prefix }}"
|
||||
install_path: /opt/zls
|
||||
- name: Set zls config
|
||||
ansible.builtin.set_fact:
|
||||
zls:
|
||||
path: "zls-{{ pkgconfig.zls.sysmap[ansible_system] }}-{{ pkgconfig.zls.archmap[ansible_architecture] }}-{{ pkgconfig.zls.version }}"
|
||||
pkg: "zls-{{ pkgconfig.zls.sysmap[ansible_system] }}-{{ pkgconfig.zls.archmap[ansible_architecture] }}-{{ pkgconfig.zls.version }}.tar.xz"
|
||||
vers: "{{ pkgconfig.zls.version }}"
|
||||
base_url: "{{ pkgconfig.zls.base_url }}"
|
||||
|
||||
Reference in New Issue
Block a user