more fixs for packages
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
# load hashicorp configuration
|
||||
---
|
||||
- name: ensure hashicorp repo is active
|
||||
ansible.builtin.include_tasks:
|
||||
file: "pkgs/hashicorp_repo.yml"
|
||||
when: hashicorp is undefined
|
||||
|
||||
- name: append to syspkgs
|
||||
- name: Append to pkg_sys
|
||||
when:
|
||||
- ansible_system == 'Linux'
|
||||
ansible.builtin.set_fact:
|
||||
syspkgs: "{{ syspkgs + [ pkgconfig.consul[ansible_system] ] }}"
|
||||
when: ansible_system == 'Linux'
|
||||
pkg_sys: "{{ pkg_sys + consul.pkgs }}"
|
||||
|
||||
- ansible.builtin.set_fact:
|
||||
tappkgs: "{{ tappkgs + [ pkgconfig.consul[ansible_system] ] }}"
|
||||
when: ansible_system == 'Darwin'
|
||||
- name: Append to pkg_tap
|
||||
when:
|
||||
- ansible_system == 'Darwin'
|
||||
ansible.builtin.set_fact:
|
||||
pkg_tap: "{{ pkg_tap + consul.pkgs }}"
|
||||
|
||||
Reference in New Issue
Block a user