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)
This commit is contained in:
Paul Calabro 2018-12-27 04:57:24 -07:00 committed by Jesús Linares
parent e94a0cf473
commit 204ad3c6ff

View File

@ -1,13 +1,15 @@
---
- name: rebuild cdb_lists
shell: /var/ossec/bin/ossec-makelists
command: /var/ossec/bin/ossec-makelists
- name: restart wazuh-manager
service: name=wazuh-manager
state=restarted
enabled=yes
service:
name: wazuh-manager
state: restarted
enabled: true
- name: restart wazuh-api
service: name=wazuh-api
state=restarted
enabled=yes
service:
name: wazuh-api
state: restarted
enabled: true