kayobe/ansible/dnf.yml
Michał Nasiadka 4a0eebf704 Stop using platform-python
Since python2 is not supported long time - there's
no need to use /usr/libexec/platform-python.
Also for supporting Debian/Ubuntu - we need to
change that to /usr/bin/python3.

Change-Id: I0d477325e0edd13d1aba211c13dc2e8b7a9b4c98
2020-12-14 14:48:05 +00:00

18 lines
377 B
YAML

---
- name: Ensure DNF repos are configured
hosts: seed-hypervisor:seed:overcloud
vars:
ansible_python_interpreter: /usr/bin/python3
tags:
- dnf
tasks:
- block:
- import_role:
name: dnf
- import_role:
name: dnf-automatic
tags:
- dnf-automatic
when:
- ansible_os_family == 'RedHat'