Lint changes

This commit is contained in:
Manuel J. Bernal 2020-05-14 18:13:53 +02:00
parent cb8f330da4
commit fdc3b0f55c
6 changed files with 8 additions and 9 deletions

View File

@ -45,7 +45,7 @@
local_action: local_action:
module: command {{ local_certs_path }}/tools/sgtlstool.sh -c {{ local_certs_path }}/config/tlsconfig.yml -ca -crt -t {{ local_certs_path }}/config/ -f -o module: command {{ local_certs_path }}/tools/sgtlstool.sh -c {{ local_certs_path }}/config/tlsconfig.yml -ca -crt -t {{ local_certs_path }}/config/ -f -o
run_once: true run_once: true
when: root_ca_file.stat.exists == False when: not root_ca_file.stat.exists
tags: tags:
- generate-certs - generate-certs

View File

@ -69,7 +69,6 @@
path: "{{ filebeat_module_folder }}" path: "{{ filebeat_module_folder }}"
register: filebeat_module_folder register: filebeat_module_folder
- name: Download Filebeat module package - name: Download Filebeat module package
get_url: get_url:
url: "{{ filebeat_module_package_url }}/{{ filebeat_module_package_name }}" url: "{{ filebeat_module_package_url }}/{{ filebeat_module_package_name }}"

View File

@ -127,7 +127,7 @@
become: no become: no
changed_when: newagent_api.json.error == 0 changed_when: newagent_api.json.error == 0
when: when:
- check_keys.stat.exists == false or check_keys.stat.size == 0 - not check_keys.stat.exists or check_keys.stat.size == 0
- wazuh_managers.0.address is not none - wazuh_managers.0.address is not none
tags: tags:
- config - config