resolvconf
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 |
Install
ansible-galaxy install roles-ansible/ansible_role_resolvconf
License
mit
Downloads
36784
Owner
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy