Merge "Use ansible_facts[] instead of injected fact vars"

This commit is contained in:
Zuul 2022-10-18 13:33:51 +00:00 committed by Gerrit Code Review
commit f344983a6c

View File

@ -30,7 +30,7 @@
- always
- name: Enable repos for redhat variants
when: ansible_pkg_mgr == 'dnf'
when: ansible_facts['pkg_mgr'] == 'dnf'
block:
- name: Enable extra repositories
command: dnf config-manager --set-enabled "{{ item }}"