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

14 lines
274 B
YAML

---
- name: disable cloudinit
copy:
content: ""
dest: /etc/cloud/cloud-init.disabled
force: no
- name: disable network autoconfig
copy:
content: "network: {config: disabled}"
dest: /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg
force: no