Remove API credentials as variable files and move to defaults

This commit is contained in:
Jose M 2020-02-14 17:13:42 +01:00
parent 291a818dad
commit 1366a74569
No known key found for this signature in database
GPG Key ID: 790179D6924E10FF
3 changed files with 3 additions and 9 deletions

View File

@ -47,6 +47,9 @@ wazuh_api_sources_installation:
common_name: null
password: null
wazuh_api_user:
- "foo:$apr1$/axqZYWQ$Xo/nz/IG3PdwV82EnfYKh/"
wazuh_manager_config:
repo:
apt: 'deb https://packages.wazuh.com/3.x/apt/ stable main'

View File

@ -191,12 +191,6 @@
tags:
- config
- name: Retrieving Wazuh-API User Credentials
include_vars: wazuh_api_creds.yml
when:
- not (ansible_distribution in ['CentOS','RedHat', 'Amazon'] and ansible_distribution_major_version|int < 6)
tags:
- config
- name: Check if syslog output is enabled
set_fact: syslog_output=true

View File

@ -1,3 +0,0 @@
---
wazuh_api_user:
- "foo:$apr1$/axqZYWQ$Xo/nz/IG3PdwV82EnfYKh/"