Run apt-get autoremove after rm cloud-init
We remove cloud-init but we don't remove the stuff it sucks in. Run autoremove to take care of that. Change-Id: I6530d7444197ec763d3695020200c411aed545b4
This commit is contained in:
parent
0463609584
commit
446a8917f8
@ -4,6 +4,9 @@
|
||||
name: cloud-init
|
||||
state: absent
|
||||
|
||||
- name: Get rid of cloud-init depends
|
||||
command: apt-get autoremove -y
|
||||
|
||||
# Set hostname and /etc/hosts
|
||||
# Inspired by:
|
||||
# https://github.com/ansible/ansible/pull/8482)
|
||||
|
Loading…
Reference in New Issue
Block a user