ansible/roles/cloudinit/tasks/main.yml

15 lines
316 B
YAML
Raw Normal View History

2022-07-21 15:19:24 +02:00
---
- name: Remove cloudinit sudoers file
file:
path: "/etc/sudoers.d/90-cloud-init-users"
state: absent
- name: Disable cloudinit
file:
path: "/etc/cloud/cloud-init.disabled"
owner: root
group: root
mode: "0644"
state: touch
modification_time: preserve
access_time: preserve