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
- Fixed a couple linting issues with yamllint and ansible-review ([#111](https://github.com/wazuh/wazuh-ansible/pull/111)) - 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 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)) - 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 Vault variables
---------------- ----------------
### vars/agentless_creeds.yml ### vars/agentless_creds.yml
This file has the agenless credentials. This file has the agenless credentials.
``` ```
--- ---
agentless_creeds: agentless_creds:
- type: ssh_integrity_check_linux - type: ssh_integrity_check_linux
frequency: 3600 frequency: 3600
host: root@example.net host: root@example.net

View File

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

View File

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

View File

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

View File

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