18 lines
453 B
YAML
18 lines
453 B
YAML
# vim: set filetype=yaml.ansible :
|
|
---
|
|
- 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: Linux specific
|
|
when:
|
|
- ansible_system == 'Linux'
|
|
ansible.builtin.set_fact:
|
|
pkg_sys: "{{ pkg_sys + ['terraformls'] }}"
|