Ensure group "wazuh" exists
This commit is contained in:
parent
6358c4b8b6
commit
e5c4c4a8b6
@ -218,6 +218,11 @@
|
|||||||
msg: Agent registration will be performed through enrollment option in templated ossec.conf
|
msg: Agent registration will be performed through enrollment option in templated ossec.conf
|
||||||
when: wazuh_agent_config.enrollment.enabled == 'yes'
|
when: wazuh_agent_config.enrollment.enabled == 'yes'
|
||||||
|
|
||||||
|
- name: Linux | Ensure group "wazuh" exists
|
||||||
|
ansible.builtin.group:
|
||||||
|
name: wazuh
|
||||||
|
state: present
|
||||||
|
|
||||||
- name: Linux | Installing agent configuration (ossec.conf)
|
- name: Linux | Installing agent configuration (ossec.conf)
|
||||||
template:
|
template:
|
||||||
src: var-ossec-etc-ossec-agent.conf.j2
|
src: var-ossec-etc-ossec-agent.conf.j2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user