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:
parent
e94a0cf473
commit
204ad3c6ff
@ -1,13 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: rebuild cdb_lists
|
- name: rebuild cdb_lists
|
||||||
shell: /var/ossec/bin/ossec-makelists
|
command: /var/ossec/bin/ossec-makelists
|
||||||
|
|
||||||
- name: restart wazuh-manager
|
- name: restart wazuh-manager
|
||||||
service: name=wazuh-manager
|
service:
|
||||||
state=restarted
|
name: wazuh-manager
|
||||||
enabled=yes
|
state: restarted
|
||||||
|
enabled: true
|
||||||
|
|
||||||
- name: restart wazuh-api
|
- name: restart wazuh-api
|
||||||
service: name=wazuh-api
|
service:
|
||||||
state=restarted
|
name: wazuh-api
|
||||||
enabled=yes
|
state: restarted
|
||||||
|
enabled: true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user