l3d.resolvconf

Ansible Role Resolvconf

This is an Ansible role to manage the /etc/resolv.conf file.

Variables

Here are the variables you can use with this role:

Variable Default Value Description
resolvconf__mode: '0644' The permissions for the /etc/resolv.conf file.
resolvconf__immutable: false Set this to true to stop others from changing /etc/resolv.conf.
resolvconf__nameservers: [] `` Optionally add a list of nameservers (see some examples).
resolvconf__domain: `` Optionally set a value for the domain option.
resolvconf__search: [] `` Optionally add a list of search domains.
resolvconf__options: [] `` Optionally add extra options like rotate or timeout:2.
submodules_versioncheck: false Run an optional simple version check (it's recommended to set this to true).

Testing

This role is tested using various GitHub Actions for different Linux versions. Linting is done with Travis CI and the ansible-lint action. For more details on our tests, check 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
Informazioni sul progetto

Manage your /etc/resolv.conf file.

Installa
ansible-galaxy install l3d.resolvconf
Licenza
mit
Download
37k
Proprietario
Ansible roles provide a framework for fully independent, or interdependent collections of variables,tasks,files,templates &modules. Here we maintain some. enjoy