diff --git a/playbooks/dependencies-fedora-restricted.yaml b/playbooks/dependencies-fedora-restricted.yaml index e5e2214..914d1ac 100644 --- a/playbooks/dependencies-fedora-restricted.yaml +++ b/playbooks/dependencies-fedora-restricted.yaml @@ -45,6 +45,7 @@ - udisks2 state: present update_cache: "{{ true if zuul.attempts > 1 else false }}" + use: "{{ 'dnf' if zuul.attempts > 1 else 'auto' }}" - name: Ensure that podman(1) is absent become: yes @@ -53,6 +54,7 @@ - podman state: absent update_cache: "{{ true if zuul.attempts > 1 else false }}" + use: "{{ 'dnf' if zuul.attempts > 1 else 'auto' }}" - name: Ensure that skopeo(1) is absent become: yes @@ -61,6 +63,7 @@ - skopeo state: absent update_cache: "{{ true if zuul.attempts > 1 else false }}" + use: "{{ 'dnf' if zuul.attempts > 1 else 'auto' }}" - name: Download Go modules command: go mod download -x diff --git a/playbooks/dependencies-fedora.yaml b/playbooks/dependencies-fedora.yaml index 76ce655..ea60513 100644 --- a/playbooks/dependencies-fedora.yaml +++ b/playbooks/dependencies-fedora.yaml @@ -38,6 +38,7 @@ - slirp4netns - systemd - udisks2 + use: "{{ 'dnf' if zuul.attempts > 1 else 'auto' }}" - name: Download Go modules command: go mod download -x