Files
ansible_role_package/tasks/pkgs/terraformls.yml
Matthew Stobbs 2d825d855d fix remaining packages to new format
- still needs testing
2025-02-22 10:51:53 -07:00

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'] }}"