dns_resolver_conf/tasks/resolv_conf.yml
Bertrand Lanson 927d07e01b
All checks were successful
test / Linting (push) Successful in 17s
test / Molecule tests (default, debian11) (push) Successful in 31s
test / Molecule tests (default, debian12) (push) Successful in 30s
test / Molecule tests (default, ubuntu2004) (push) Successful in 37s
test / Molecule tests (default, ubuntu2204) (push) Successful in 32s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 31s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 30s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 32s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 37s
feat: remove become from role
2023-12-03 17:03:05 +01:00

10 lines
236 B
YAML

---
# task/resolv_conf for dns_resolver_conf
- name: "Copy /etc/resolv.conf file"
ansible.builtin.template:
src: "resolv.conf.j2"
dest: "{{ dns_resolv_conf_path }}/resolv.conf"
owner: root
group: root
mode: '0644'