14 lines
367 B
YAML
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 }}"
|