2023-04-11 21:32:34 +00:00
|
|
|
---
|
|
|
|
# task/configure file for manage_netplan
|
2023-04-15 16:14:37 +00:00
|
|
|
- name: "Copy netplan configuration template into {{ manage_netplan_config_file }}"
|
2023-04-11 21:32:34 +00:00
|
|
|
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:
|
2023-04-11 21:56:27 +00:00
|
|
|
- "netplan-generate"
|
2023-04-15 21:57:38 +00:00
|
|
|
- "netplan-apply"
|