Fixes typos (#130)

This commit is contained in:
Carlos Dominguez 2019-01-14 09:19:02 +01:00 committed by Jesús Linares
parent 694ecd8106
commit 236e76f73d
6 changed files with 11 additions and 10 deletions

View File

@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.
### Fixed
- Fixed a couple linting issues with yamllint and ansible-review ([#111](https://github.com/wazuh/wazuh-ansible/pull/111))
- Fixes typos: The word credentials doesn't have two consecutive e's ([#130](https://github.com/wazuh/wazuh-ansible/pull/130))
- Fixed multiple remote connection ([#120](https://github.com/wazuh/wazuh-ansible/pull/120))
- Fixed null value for wazuh_manager_fqdn ([#132](https://github.com/wazuh/wazuh-ansible/pull/132))

View File

@ -26,11 +26,11 @@ wazuh_agent_configs: []
Vault variables
----------------
### vars/agentless_creeds.yml
### vars/agentless_creds.yml
This file has the agenless credentials.
```
---
agentless_creeds:
agentless_creds:
- type: ssh_integrity_check_linux
frequency: 3600
host: root@example.net

View File

@ -168,7 +168,7 @@
- config
- name: Retrieving Agentless Credentials
include_vars: agentless_creeds.yml
include_vars: agentless_creds.yml
tags:
- config
@ -231,7 +231,7 @@
notify: restart wazuh-manager
when:
- agentlessd_enabled.stdout == '0' or "skipped" in agentlessd_enabled.stdout
- agentless_creeds is defined
- agentless_creds is defined
tags:
- config
@ -324,13 +324,13 @@
group: root
mode: 0644
no_log: true
when: agentless_creeds is defined
when: agentless_creds is defined
tags:
- config
- name: Encode the secret
shell: /usr/bin/base64 /var/ossec/agentless/.passlist_tmp > /var/ossec/agentless/.passlist && rm /var/ossec/agentless/.passlist_tmp
when: agentless_creeds is defined
when: agentless_creds is defined
tags:
- config

View File

@ -1,3 +1,3 @@
{% for agentless in agentless_creeds %}
{% for agentless in agentless_creds %}
{{ agentless.host }}|{{ agentless.passwd }}
{% endfor %}

View File

@ -382,8 +382,8 @@
</wodle>
{% endif %}
{% if agentless_creeds is defined %}
{% for agentless in agentless_creeds %}
{% if agentless_creds is defined %}
{% for agentless in agentless_creds %}
<agentless>
<type>{{ agentless.type }}</type>
<frequency>{{ agentless.frequency }}</frequency>

View File

@ -1,5 +1,5 @@
---
# agentless_creeds:
# agentless_creds:
# - type: ssh_integrity_check_linux
# frequency: 3600
# host: root@example.net