Merge branch 'rm_cloudinit' into 'newinfra'

Remove cloudinit package

See merge request nounous/ansible!103
certbot_on_virtu
erdnaxe 2020-11-28 16:14:05 +01:00
commit cc7c2f6af3
1 changed files with 11 additions and 0 deletions

View File

@ -74,3 +74,14 @@
- hosts: server,!virtu
roles:
- openssh
- hosts: server
tasks:
- name: Remove cloud-init
apt:
name: cloud-init
state: absent
purge: true
register: apt_result
retries: 3
until: apt_result is succeeded