From 98eb089ef2bbe8abbd329c8b088bebeb90ed72da Mon Sep 17 00:00:00 2001 From: Fabien Boucher Date: Jan 09 2025 15:55:23 +0000 Subject: Followup for https://pagure.io/fedora-ci/general/issue/505 --- diff --git a/playbooks/rpm/rpm-install-test.yaml b/playbooks/rpm/rpm-install-test.yaml index b862f5b..06fff15 100644 --- a/playbooks/rpm/rpm-install-test.yaml +++ b/playbooks/rpm/rpm-install-test.yaml @@ -11,14 +11,14 @@ path: /etc/dnf/dnf.conf insertafter: '^\[main\]' line: "ip_resolve=4" + # https://pagure.io/fedora-ci/general/issue/505 + - name: Restart systemd-resolved + become: true + command: systemctl restart systemd-resolved + when: zuul.branch == "rawhide" or zuul.branch == "main" # https://pagure.io/releng/issue/11541 # https://pagure.io/fedora-ci/general/issue/416 - name: Install python3-dnf for rawhide only become: true command: dnf install -y python3-dnf when: zuul.branch == "rawhide" or zuul.branch == "main" - # https://pagure.io/fedora-ci/general/issue/505 - - name: Restart systemd-resolved - become: true - command: systemctl restart systemd-resolved - when: zuul.branch == "rawhide" or zuul.branch == "main"