diff --git a/.github/workflows/module_acceptance.yml b/.github/workflows/module_acceptance.yml index 769a338..b633e97 100644 --- a/.github/workflows/module_acceptance.yml +++ b/.github/workflows/module_acceptance.yml @@ -143,6 +143,8 @@ jobs: # Redact password FILE='spec/fixtures/litmus_inventory.yaml' sed -e 's/password: .*/password: "[redacted]"/' < $FILE || true + # Clean up resolv.conf on target Docker machines to avoid Azure DNS issues caused by Twingate actions + bundle exec bolt command run "sed '/^nameserver 168.63.129.16\$/d; /^search/d' /etc/resolv.conf > /tmp/resolv.conf && cat /tmp/resolv.conf > /etc/resolv.conf" --targets all --inventoryfile spec/fixtures/litmus_inventory.yaml - name: "Install Puppet agent" run: |