roles/agent: add support for overlaying like role-distributed ansible.cfg setting for hash_behaviour
This commit is contained in:
parent
53fbc82931
commit
2a5da5f78d
@ -1,4 +1,12 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
- name: Overlay wazuh_agent_config on top of defaults
|
||||||
|
set_fact:
|
||||||
|
wazuh_agent_config: '{{ wazuh_agent_config_defaults | combine(config_layer, recursive=True) }}'
|
||||||
|
vars:
|
||||||
|
config_layer: '{{ wazuh_agent_config | default({}) }}'
|
||||||
|
when: wazuh_agent_config_overlay | bool
|
||||||
|
|
||||||
- include_tasks: "Windows.yml"
|
- include_tasks: "Windows.yml"
|
||||||
when: ansible_os_family == "Windows"
|
when: ansible_os_family == "Windows"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user