Files
ansible_role_package/tasks/config/hashicorp.yml
Matthew Stobbs a4398fa72e fix typo
2025-02-25 09:30:08 -07:00

14 lines
367 B
YAML

- name: Set OS name for RedHat family
when:
- ansible_os_family == 'RedHat'
ansible.builtin.set_fact:
hashicorp:
repo: "{{ pkgconfig.hashicorp.Linux[rpm_dist.stdout].repo }}"
- name: Set repo for debian
when:
- ansible_os_family == 'Debian'
ansible.builtin.set_fact:
hashicorp:
repo: "{{ pkgconfig.hashicorp.Linux.Debian.repo }}"