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
.github | ||
defaults | ||
meta | ||
tasks | ||
templates | ||
vars | ||
.yamllint | ||
LICENSE | ||
README.md |
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 action | |
yamllint github actions | |
publish-ansible-role-to-galaxy |