Bertrand Lanson
30ce327d55
All checks were successful
test / Linting (push) Successful in 18s
test / Molecule tests (default, debian11) (push) Successful in 47s
test / Molecule tests (default, debian12) (push) Successful in 53s
test / Molecule tests (default, ubuntu2204) (push) Successful in 49s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m21s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 45s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 49s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 51s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 46s
15 lines
397 B
YAML
15 lines
397 B
YAML
---
|
|
# task/configure file for manage_netplan
|
|
- name: "Copy netplan configuration template into {{ manage_netplan_config_file }}"
|
|
ansible.builtin.template:
|
|
src: etc_netplan.yaml.j2
|
|
dest: "{{ manage_netplan_config_file }}"
|
|
mode: '0644'
|
|
owner: root
|
|
group: root
|
|
backup: true
|
|
when: manage_netplan_configuration != []
|
|
notify:
|
|
- "netplan-generate"
|
|
- "netplan-apply"
|