Merge "Use ansible_facts[] instead of injected fact vars"
This commit is contained in:
commit
f344983a6c
@ -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 }}"
|
||||
|
Loading…
Reference in New Issue
Block a user