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
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user