14 lines
316 B
YAML
14 lines
316 B
YAML
---
|
|
- 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
|