Fix linting

This commit is contained in:
Jose M 2019-11-25 18:44:00 +01:00
parent f57840b2e7
commit 9c2ce76f09
2 changed files with 15 additions and 17 deletions

View File

@ -9,14 +9,14 @@
- libtool
- tar
state: present
- name: Removing old files
file: "/tmp/{{ wazuh_agent_sources_installation.branch }}.tar.gz"
state: absent
- name: Removing old folders
file: "/tmp/wazuh-{{ wazuh_agent_sources_installation.branch }}"
state: absent
- name: Removing old files
file: "/tmp/{{ wazuh_agent_sources_installation.branch }}.tar.gz"
state: absent
- name: Removing old folders
file: "/tmp/wazuh-{{ wazuh_agent_sources_installation.branch }}"
state: absent
- name: Installing policycoreutils-python (RedHat families)
package:
@ -85,10 +85,10 @@
args:
chdir: "/tmp/wazuh-{{ wazuh_agent_sources_installation.branch }}"
- name: Cleanup downloaded files
file: "/tmp/{{ wazuh_agent_sources_installation.branch }}.tar.gz"
state: absent
- name: Cleanup downloaded files
file: "/tmp/{{ wazuh_agent_sources_installation.branch }}.tar.gz"
state: absent
- name: Cleanup created folders
file: "/tmp/wazuh-{{ wazuh_agent_sources_installation.branch }}"
state: absent
- name: Cleanup created folders
file: "/tmp/wazuh-{{ wazuh_agent_sources_installation.branch }}"
state: absent

View File

@ -24,7 +24,7 @@
- name: Removing old folders
file: "/tmp/wazuh-{{ wazuh_manager_sources_installation.branch }}"
state: absent
state: absent
- name: Installing policycoreutils-python (RedHat families)
package:
@ -167,6 +167,4 @@
- not wazuh_api.stat.exists
- wazuh_api_sources_installation.enabled
tags:
- api
- api