Skip to content

Commit

Permalink
Fixes typos (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
cadoming authored and jesuslinares committed Jan 14, 2019
1 parent 694ecd8 commit 236e76f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
4 changes: 2 additions & 2 deletions roles/wazuh/ansible-wazuh-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions roles/wazuh/ansible-wazuh-manager/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
- config

- name: Retrieving Agentless Credentials
include_vars: agentless_creeds.yml
include_vars: agentless_creds.yml
tags:
- config

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion roles/wazuh/ansible-wazuh-manager/templates/agentless.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{% for agentless in agentless_creeds %}
{% for agentless in agentless_creds %}
{{ agentless.host }}|{{ agentless.passwd }}
{% endfor %}
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# agentless_creeds:
# agentless_creds:
# - type: ssh_integrity_check_linux
# frequency: 3600
# host: root@example.net
Expand Down

0 comments on commit 236e76f

Please sign in to comment.