manage_netplan/tasks/configure.yml

16 lines
412 B
YAML
Raw Normal View History

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 != []
become: true
2023-04-11 21:32:34 +00:00
notify:
- "netplan-generate"
- "netplan-apply"