diff --git a/playbooks/roles/set_hostname/tasks/main.yml b/playbooks/roles/set_hostname/tasks/main.yml index e1add7d4cf..2117db394e 100644 --- a/playbooks/roles/set_hostname/tasks/main.yml +++ b/playbooks/roles/set_hostname/tasks/main.yml @@ -1,4 +1,9 @@ --- +- name: Remove cloud-init + package: + name: cloud-init + state: absent + # Set hostname and /etc/hosts # Inspired by: # https://github.com/ansible/ansible/pull/8482)