wazuh-ansible-4.8.1/roles/wazuh/ansible-wazuh-manager/handlers/main.yml
Paul Calabro 204ad3c6ff Fixed a couple linting issues with yamllint and ansible-review (#111)
- yamllint: "truthy value should be true or false"
   (Docs: https://github.com/adrienverge/yamllint/blob/master/yamllint/rules/truthy.py)
- ansible-review: "WARN: Best practice "Use YAML format for tasks and handlers rather than key=value" not met:"
  (Docs: 2aacd7462f/lib/ansiblereview/tasks.py)
2018-12-27 12:57:24 +01:00

16 lines
274 B
YAML

---
- name: rebuild cdb_lists
command: /var/ossec/bin/ossec-makelists
- name: restart wazuh-manager
service:
name: wazuh-manager
state: restarted
enabled: true
- name: restart wazuh-api
service:
name: wazuh-api
state: restarted
enabled: true