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

View File

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