Skip to content

Commit

Permalink
Merge pull request #76 from wazuh/PR-55_new_structure
Browse files Browse the repository at this point in the history
validate agent.conf in manager
  • Loading branch information
AlfonsoRBJ authored Nov 2, 2018
2 parents 3d4e3ff + 539f94d commit 52084d6
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions roles/wazuh/ansible-wazuh-manager/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,13 @@
- rules

- name: Configure the shared-agent.conf
template: src=var-ossec-etc-shared-agent.conf.j2
dest=/var/ossec/etc/shared/default/agent.conf
owner=ossec
group=ossec
mode=0640
template:
src: var-ossec-etc-shared-agent.conf.j2
dest: /var/ossec/etc/shared/default/agent.conf
owner: ossec
group: ossec
mode: 0640
validate: '/var/ossec/bin/verify-agent-conf -f %s'
notify: restart wazuh-manager
tags:
- init
Expand Down

0 comments on commit 52084d6

Please sign in to comment.