Include apt repository name in debian task. Remove explicit "deb"

This commit is contained in:
Jose M 2019-11-06 17:38:24 +01:00
parent ee7cf1a598
commit 154e10912a
2 changed files with 4 additions and 2 deletions

View File

@ -29,7 +29,8 @@
- name: Debian/Ubuntu | Add Wazuh repositories
apt_repository:
repo: "deb {{ wazuh_agent_config.repo.apt }}"
filename: wazuh_repo
repo: "{{ wazuh_agent_config.repo.apt }}"
state: present
update_cache: true

View File

@ -31,7 +31,8 @@
- name: Debian/Ubuntu | Add Wazuh repositories
apt_repository:
repo: "deb {{ wazuh_manager_config.repo.apt }}"
filename: wazuh_repo
repo: "{{ wazuh_manager_config.repo.apt }}"
state: present
update_cache: true
changed_when: false