fix remaining packages to new format
- still needs testing
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
- name: ensure hashicorp repo is active
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/hashicorp_repo.yml"
|
||||
when: hashicorp is undefined
|
||||
- name: Append to pkgs
|
||||
notify:
|
||||
- Depend hashicorp repo
|
||||
block:
|
||||
- name: MacOS specific
|
||||
when:
|
||||
- ansible_system == 'Darwin'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_taps: "{{ pkg_taps + [pkgconfig.terraformls[ansible_system]] }}"
|
||||
|
||||
- name: append to pkgs
|
||||
ansible.builtin.set_fact:
|
||||
tappkgs: "{{ tappkgs + [ pkgconfig.terraformls[ansible_system] ] }}"
|
||||
- name: Linux specific
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_sys: "{{ pkg_sys + ['terraformls'] }}"
|
||||
|
||||
Reference in New Issue
Block a user