1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_resolvconf.git synced 2026-06-28 06:18:10 +02:00
Ansible role to deploy the /etc/resolv.conf file
Find a file
2025-12-16 15:23:38 +01:00
.github Adding workflow for dependabot and update 2025-12-16 15:21:10 +01:00
defaults try to deploy resolv.conf file 2021-03-04 15:58:39 +01:00
meta Create linting 2024-09-12 00:53:41 +02:00
tasks Create linting 2024-09-12 00:53:41 +02:00
templates Update resolve template 2024-09-12 01:11:06 +02:00
vars Update vars 2025-12-16 15:21:42 +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 cleanup 2024-09-12 00:43:42 +02:00

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)

Collection

This role is part of the l3d.linux collection.

  • collection l3d.linux
  • l3d.linux.resolvconf