Merge pull request #484 from wazuh/feature-fix-task-condition

Fix repository removal task condition
This commit is contained in:
Manuel J. Bernal 2020-11-10 13:48:59 +01:00 committed by GitHub
commit 389a3a2ed5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@
repo: deb https://packages.wazuh.com/apt {{ ansible_distribution_release }} main
state: absent
changed_when: false
when: not wazuh_manager_sources_installation.enabled
when: ansible_os_family == "Debian"
- name: RedHat/CentOS/Fedora | Remove Wazuh repository (and clean up left-over metadata)
yum_repository: