packages are more generic
- if config is needed, it has a file in vars/ - all imported vars for pkgs are namespaced with _<pkgname>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
- ansible.builtin.include_vars:
|
||||
file: consul.yml
|
||||
name: _consul
|
||||
file: hashicorp_repo.yml
|
||||
name: _hashicorp
|
||||
|
||||
- name: ensure hashicorp repo is active
|
||||
ansible.builtin.include_tasks:
|
||||
@@ -9,5 +9,4 @@
|
||||
|
||||
- name: append to pkgs
|
||||
set_fact:
|
||||
syspkgs: "{{ syspkgs + [ _consul[ansible_os_family].pkg ] }}"
|
||||
|
||||
syspkgs: "{{ syspkgs + [ _hashicorp.consul[ansible_os_family] ] }}"
|
||||
|
||||
Reference in New Issue
Block a user