corrected repo key id parameter
This commit is contained in:
parent
50964bd0f8
commit
5479fc5550
@ -25,7 +25,7 @@
|
||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||
apt_key:
|
||||
url: "{{ wazuh_agent_config.repo.gpg }}"
|
||||
id: "{{ wazuhrepo.key_id }}"
|
||||
id: "{{ wazuh_agent_config.repo.key_id }}"
|
||||
when:
|
||||
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
- not wazuh_agent_sources_installation.enabled
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
- name: Debian/Ubuntu | Installing Wazuh repository key
|
||||
apt_key:
|
||||
url: "{{ wazuh_manager_config.repo.gpg }}"
|
||||
id: "{{ wazuhrepo.key_id }}"
|
||||
id: "{{ wazuh_manager_config.repo.key_id }}"
|
||||
when:
|
||||
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version | int == 14)
|
||||
- not wazuh_manager_sources_installation.enabled or not wazuh_api_sources_installation.enabled
|
||||
|
||||
Loading…
Reference in New Issue
Block a user