Define variable in default.yml instead of playbook
This commit is contained in:
parent
c32d992f89
commit
376628a914
@ -1,9 +1,5 @@
|
|||||||
---
|
---
|
||||||
- hosts: <WAZUH_MANAGER_HOST>
|
- hosts: <WAZUH_MANAGER_HOST>
|
||||||
- vars:
|
|
||||||
- repo_dic:
|
|
||||||
debian: "deb"
|
|
||||||
redhat: "rpm"
|
|
||||||
roles:
|
roles:
|
||||||
- role: ../roles/wazuh/ansible-wazuh-manager
|
- role: ../roles/wazuh/ansible-wazuh-manager
|
||||||
- role: ../roles/wazuh/ansible-filebeat
|
- role: ../roles/wazuh/ansible-filebeat
|
||||||
|
|||||||
3
roles/wazuh/ansible-wazuh-manager/vars/default.yml
Normal file
3
roles/wazuh/ansible-wazuh-manager/vars/default.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
- repo_dic:
|
||||||
|
debian: "deb"
|
||||||
|
redhat: "rpm"
|
||||||
Loading…
Reference in New Issue
Block a user