Fix linting

This commit is contained in:
manuasir 2020-02-26 17:26:01 +01:00
parent abd4f57106
commit 079273eb35
2 changed files with 5 additions and 5 deletions

View File

@ -122,7 +122,7 @@
stat:
path: /var/ossec/api/app.js
register: wazuh_api
when:
when:
- wazuh_manager_config.cluster.node_type == "master"
- name: Install Wazuh API from sources

View File

@ -11,7 +11,7 @@
stat:
path: /usr/bin/node
register: node_service_status
when:
when:
- wazuh_manager_config.cluster.node_type == "master"
- name: Install NodeJS repository
@ -27,7 +27,7 @@
command: sh /etc/nodejs.sh
register: nodejs_script
changed_when: nodejs_script.rc == 0
when:
when:
- not node_service_status.stat.exists
- wazuh_manager_config.cluster.node_type == "master"
@ -37,7 +37,7 @@
state: present
register: nodejs_service_is_installed
until: nodejs_service_is_installed is succeeded
when:
when:
- wazuh_manager_config.cluster.node_type == "master"
tags: init
@ -175,7 +175,7 @@
group=ossec
mode=0740
notify: restart wazuh-api
when:
when:
- wazuh_manager_config.cluster.node_type == "master"
tags: