include template local_internal_options.conf
This commit is contained in:
parent
aa1dfcdb60
commit
8ef5e65eb7
@ -167,6 +167,17 @@
|
|||||||
- init
|
- init
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: Linux | Installing local_internal_options.conf
|
||||||
|
template: src=var-ossec-etc-local-internal-options.conf.j2
|
||||||
|
dest=/var/ossec/etc/local_internal_options.conf
|
||||||
|
owner=root
|
||||||
|
group=ossec
|
||||||
|
mode=0640
|
||||||
|
notify: restart wazuh-agent
|
||||||
|
tags:
|
||||||
|
- init
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Linux | Ensure Wazuh Agent service is started and enabled
|
- name: Linux | Ensure Wazuh Agent service is started and enabled
|
||||||
service:
|
service:
|
||||||
name: wazuh-agent
|
name: wazuh-agent
|
||||||
|
|||||||
@ -0,0 +1,12 @@
|
|||||||
|
# local_internal_options.conf
|
||||||
|
#
|
||||||
|
# This file should be handled with care. It contains
|
||||||
|
# run time modifications that can affect the use
|
||||||
|
# of OSSEC. Only change it if you know what you
|
||||||
|
# are doing. Look first at ossec.conf
|
||||||
|
# for most of the things you want to change.
|
||||||
|
#
|
||||||
|
# This file will not be overwritten during upgrades.
|
||||||
|
|
||||||
|
# This is the template of Ansible for the file local_internal_options.conf
|
||||||
|
# In this file you could include the configuration settings for your agents
|
||||||
@ -156,6 +156,17 @@
|
|||||||
- init
|
- init
|
||||||
- config
|
- config
|
||||||
|
|
||||||
|
- name: Installing the local_internal_options.conf
|
||||||
|
template: src=var-ossec-etc-local-internal-options.conf.j2
|
||||||
|
dest=/var/ossec/etc/local_internal_options.conf
|
||||||
|
owner=root
|
||||||
|
group=ossec
|
||||||
|
mode=0640
|
||||||
|
notify: restart wazuh-manager
|
||||||
|
tags:
|
||||||
|
- init
|
||||||
|
- config
|
||||||
|
|
||||||
- name: Retrieving Agentless Credentials
|
- name: Retrieving Agentless Credentials
|
||||||
include_vars: agentless_creeds.yml
|
include_vars: agentless_creeds.yml
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@ -0,0 +1,12 @@
|
|||||||
|
# local_internal_options.conf
|
||||||
|
#
|
||||||
|
# This file should be handled with care. It contains
|
||||||
|
# run time modifications that can affect the use
|
||||||
|
# of OSSEC. Only change it if you know what you
|
||||||
|
# are doing. Look first at ossec.conf
|
||||||
|
# for most of the things you want to change.
|
||||||
|
#
|
||||||
|
# This file will not be overwritten during upgrades.
|
||||||
|
|
||||||
|
# This is the template of Ansible for the file local_internal_options.conf
|
||||||
|
# In this file you could include the configuration settings for your manager
|
||||||
Loading…
Reference in New Issue
Block a user