1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_resolvconf.git synced 2024-08-16 10:09:52 +02:00
Ansible role to deploy the /etc/resolv.conf file
Find a file
2021-03-16 20:02:16 +01:00
.github Add documentation about default vars 2021-03-16 19:48:27 +01:00
defaults try to deploy resolv.conf file 2021-03-04 15:58:39 +01:00
meta Add documentation about default vars 2021-03-16 19:48:27 +01:00
tasks try to improve deployment... 2021-03-08 11:47:30 +01:00
templates Update resolv.conf.j2 2021-03-08 11:31:34 +01:00
vars change README because role moved 2021-03-16 20:02:16 +01:00
.yamllint Initial commit 2021-03-04 15:39:58 +01:00
LICENSE Initial commit 2021-03-04 15:39:58 +01:00
README.md change README because role moved 2021-03-16 20:02:16 +01:00

Ansible Galaxy MIT License

ansible role resolvconf

Ansible role to manage the /etc/resolv.conf file.

Variables

Variable Default Value Description
resolvconf__mode: '0644' The file mode for /etc/resolv.conf
resolveconf__immutable: false Change this to true to prevent /etc/resolv.conf to be changed by others
resolvconf__nameservers: [] Optionally configure a list of nameservers (some examples)
resolvconf__domain: Optionally set a value for the domain option
resolvconf__search: [] Optionally set a list of search domains
resolvconf__options: [] Optionally set a list of additional options like rotate or timeout:2
submodules_versioncheck: false Run optional simple Versionscheck (true is recomended)

Testing

This role is tested with these github-action tests for different versions of differen linux systems. Linting is tested via travis-ci and the ansible-lint action. If you want to find out more about our tests, please have a look at the github marketplace.

test status Github Marketplace
Ansible Lint check ansible-lint action
Yamllint GitHub Actions yamllint github actions
Galaxy release publish-ansible-role-to-galaxy