Merge pull request #670 from Tinyblargon/master
Add missing dependancy (package) (user group)
This commit is contained in:
commit
a38c64a7cd
@ -1,10 +1,11 @@
|
|||||||
---
|
---
|
||||||
- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates and acl
|
- name: Debian/Ubuntu | Install apt-transport-https, ca-certificates, gnupg and acl
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
- apt-transport-https
|
- apt-transport-https
|
||||||
- ca-certificates
|
- ca-certificates
|
||||||
- acl
|
- acl
|
||||||
|
- gnupg
|
||||||
state: present
|
state: present
|
||||||
register: wazuh_agent_ca_package_install
|
register: wazuh_agent_ca_package_install
|
||||||
until: wazuh_agent_ca_package_install is succeeded
|
until: wazuh_agent_ca_package_install is succeeded
|
||||||
|
|||||||
@ -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