diff --git a/.github/workflows/module_acceptance.yml b/.github/workflows/module_acceptance.yml index 769a338..1fd17e5 100644 --- a/.github/workflows/module_acceptance.yml +++ b/.github/workflows/module_acceptance.yml @@ -144,6 +144,11 @@ jobs: FILE='spec/fixtures/litmus_inventory.yaml' sed -e 's/password: .*/password: "[redacted]"/' < $FILE || true + - name: "Resolve Twingate-Docker DNS conflict" + run: | + echo "=== Adjusting resolv.conf inside provisioned container ===" + 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: | if [[ "${{ matrix.collection.version }}" ]] ; then