2022-01-01 19:24:52 +01:00
|
|
|
---
|
|
|
|
- name: "remove cloudinit config"
|
2023-03-05 19:00:38 +01:00
|
|
|
ansible.builtin.file:
|
2022-01-01 19:24:52 +01:00
|
|
|
path: /etc/netplan/50-cloud-init.yaml
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
- name: "remove installer config"
|
2023-03-05 19:00:38 +01:00
|
|
|
ansible.builtin.file:
|
2022-01-01 19:24:52 +01:00
|
|
|
path: /etc/netplan/00-installer-config.yaml
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
- name: "install static config"
|
2023-03-05 19:00:38 +01:00
|
|
|
ansible.builtin.template:
|
2022-01-01 19:24:52 +01:00
|
|
|
src: templates/netplan.yaml
|
|
|
|
dest: /etc/netplan/00-static.yaml
|
|
|
|
notify: netplanapply
|
2022-04-16 19:55:29 +02:00
|
|
|
...
|