Configure resolv.conf
none
See variables for more details.
With default variables, this role dont change anything on the system. You need to set the config variables like in the exemple in order to start configuration.
---
- hosts: system_resolv
become: true
become_method: sudo
gather_facts: true
roles:
- role: ansible-system_resolv
vars:
resolv_resolvconf_remove: true
resolv_nameservers:
- "127.0.0.1"
- "10.0.0.1"
- "10.0.0.2"
resolv_domain: "example.com"
resolv_search:
- "example.com"
resolv_options:
- "timeout:2"
- "attempts:1"
- "rotate"
This project is licensed under Apache License. See LICENSE for more details.