kayobe/ansible/dnf.yml
Michal Nasiadka 1094358033 Move dnf.yml earlier in host configure workflow
Since kayobe is installing python3-pip in pip.yml - and dnf proxy is set
later, it fails on no-direct-internet systems.

Change-Id: I93f29ec4334829bfec107ba7aa6df05a47d2ab96
Story: 2008067
Task: 40750
Depends-On: https://review.opendev.org/748587
Depends-On: https://review.opendev.org/750804
2020-09-11 19:59:02 +00:00

18 lines
389 B
YAML

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