separate configuration, requirements and variables
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
- name: ensure hashicorp repo is active
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/hashicorp_repo.yml"
|
||||
when: pkgconfig_hashicorp is undefined
|
||||
when: hashicorp is undefined
|
||||
|
||||
- name: append to syspkgs
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + [ pkgconfig_hashicorp.consul[ansible_system] ] }}"
|
||||
syspkgs: "{{ syspkgs + [ pkgconfig.consul[ansible_system] ] }}"
|
||||
when: ansible_system == 'Linux'
|
||||
|
||||
- ansible.builtin.set_fact:
|
||||
tappkgs: "{{ tappkgs + [ pkgconfig_hashicorp.consul[ansible_system] ] }}"
|
||||
tappkgs: "{{ tappkgs + [ pkgconfig.consul[ansible_system] ] }}"
|
||||
when: ansible_system == 'Darwin'
|
||||
|
||||
Reference in New Issue
Block a user