vm-ansible/roles/common/tasks/disable-cloudinit.yaml

14 lines
309 B
YAML
Raw Normal View History

---
- name: disable cloudinit
2023-03-05 19:00:38 +01:00
ansible.builtin.copy:
content: ""
dest: /etc/cloud/cloud-init.disabled
force: no
- name: disable network autoconfig
2023-03-05 19:00:38 +01:00
ansible.builtin.copy:
content: "network: {config: disabled}"
dest: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
force: no
2022-04-16 19:55:29 +02:00
...