dns_resolver_conf/tasks/resolved_conf.yml
Bertrand Lanson 6218ed1fdd
All checks were successful
test / Linting (push) Successful in 28s
test / Molecule tests (default, ubuntu2004) (push) Successful in 47s
test / Molecule tests (default, debian12) (push) Successful in 1m15s
test / Molecule tests (default, debian11) (push) Successful in 1m24s
test / Molecule tests (default, ubuntu2204) (push) Successful in 52s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 56s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 31s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m0s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 46s
feat: add become: true, add vagrant tests, add systemd-resolved service check to avoid failure if service is not on host
2023-12-01 18:36:27 +01:00

11 lines
241 B
YAML

---
# task/resolved_conf file for dns_resolver_conf
- name: "Copy dummy resolved.conf"
ansible.builtin.copy:
src: files/resolved.conf
dest: /etc/systemd/resolved.conf
owner: root
group: root
mode: '0644'
become: true