Fix wazuh manager variable typo related with repositories
This commit is contained in:
parent
1978496611
commit
83d0de790a
@ -25,13 +25,13 @@
|
||||
|
||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||
apt_key:
|
||||
url: "{{ wazuh_agent_config.repo.gpg }}"
|
||||
url: "{{ wazuh_manager_config.repo.gpg }}"
|
||||
when:
|
||||
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
|
||||
- name: Debian/Ubuntu | Add Wazuh repositories
|
||||
apt_repository:
|
||||
repo: deb "{{ wazuh_agent_config.repo.apt }}"
|
||||
repo: deb "{{ wazuh_manager_config.repo.apt }}"
|
||||
state: present
|
||||
update_cache: true
|
||||
changed_when: false
|
||||
|
||||
Loading…
Reference in New Issue
Block a user