Ensure group "wazuh" exists

This commit is contained in:
tinyblargon 2021-11-18 19:42:01 +01:00
parent 6358c4b8b6
commit e5c4c4a8b6

View File

@ -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