-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First commits for an Ansible role to install and configure systemd-resolved
#1
Commits on May 3, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0ed1222 - Browse repository at this point
Copy the full SHA 0ed1222View commit details -
Configuration menu - View commit details
-
Copy full SHA for f46fafb - Browse repository at this point
Copy the full SHA f46fafbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d66b1e1 - Browse repository at this point
Copy the full SHA d66b1e1View commit details -
Remove support for Debian Buster and Bullseye as well as Ubuntu Focal…
… and Jammy These platforms do not provide systemd-resolved.
Configuration menu - View commit details
-
Copy full SHA for 449d1ee - Browse repository at this point
Copy the full SHA 449d1eeView commit details -
Add code to unmount /etc/resolv.conf in Molecule prepare stage
Docker bind mounts a file from the host to /etc/resolv.conf. This is inconvenient for us, since we need to create a symlink at /etc/resolv.conf. At the same time, we don't want to break DNS. The playbook being imported contains a workaround for this situation.
Configuration menu - View commit details
-
Copy full SHA for 0906cb6 - Browse repository at this point
Copy the full SHA 0906cb6View commit details -
Enable and start systemd-resolved sooner
We must start the service to populate the files in /run/systemd/resolve/, before we can create the /etc/resolv.conf.
Configuration menu - View commit details
-
Copy full SHA for d1decf5 - Browse repository at this point
Copy the full SHA d1decf5View commit details -
Comment out call to Service.exists
This functionality from pytest-testinfra is currently broken. See pytest-dev/pytest-testinfra#757 for more details. Once pytest-dev/pytest-testinfra#754 has been merged and a new release of pytest-testinfra is created the Service.exists line can be restored.
Configuration menu - View commit details
-
Copy full SHA for 1b662af - Browse repository at this point
Copy the full SHA 1b662afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c76623 - Browse repository at this point
Copy the full SHA 2c76623View commit details -
Configuration menu - View commit details
-
Copy full SHA for 69ab2cd - Browse repository at this point
Copy the full SHA 69ab2cdView commit details -
Use a different symlink target for AmazonLinux2023
/run/systemd/resolve/stub-resolv.conf is a symlink to /run/systemd/resolve/resolv.conf in AL2023, so in this case the /etc/resolv.conf symlink resolves to the former not the latter.
Configuration menu - View commit details
-
Copy full SHA for c3d2e0f - Browse repository at this point
Copy the full SHA c3d2e0fView commit details -
Add ansible as a dependency for the ansible-lint pre-commit hook
For some reason ansible-lint does not know about the existence of ansible.posix.mount unless ansible itself is added as an extra dependency. I believe this is because ansible is not installed when ansible-lint is installed.
Configuration menu - View commit details
-
Copy full SHA for 53a6447 - Browse repository at this point
Copy the full SHA 53a6447View commit details -
The comment explains why ansible must be added as an additional dependency for the ansible-lint linter. Co-authored-by: dav3r <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c4af931 - Browse repository at this point
Copy the full SHA c4af931View commit details -
Create and reference issue for uncommenting of assertion in test code
Co-authored-by: dav3r <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a69c22 - Browse repository at this point
Copy the full SHA 9a69c22View commit details -
Verify the systemd-resolved stub resolver is being used by default
Note that this entails installing dnsutils in the Molecule prepare stage so that dig is available when the Molecule tests are run.
Configuration menu - View commit details
-
Copy full SHA for 626d43f - Browse repository at this point
Copy the full SHA 626d43fView commit details -
Separate tasks with a blank line
Co-authored-by: Nick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9a51c3a - Browse repository at this point
Copy the full SHA 9a51c3aView commit details -
Expand comment describing why we use follow=false
Co-authored-by: Nick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32e1a61 - Browse repository at this point
Copy the full SHA 32e1a61View commit details -
Pull in the same version of ansible as is used in requirements-test.txt
Co-authored-by: Nick <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a68a9b5 - Browse repository at this point
Copy the full SHA a68a9b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3c1b2f - Browse repository at this point
Copy the full SHA f3c1b2fView commit details
Commits on May 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a3eeb16 - Browse repository at this point
Copy the full SHA a3eeb16View commit details