Commit c373f5c9 authored by Carsten Feuls's avatar Carsten Feuls

Move cloud-init remove to end of playbook

parent f251867c
......@@ -91,6 +91,11 @@
dest: /home/schulung/Schreibtisch/presentation.pdf
owner: schulung
- name: Remove /etc/network/interfaces.d/50-cloud-init.cfg
file:
path: /etc/network/interfaces.d/50-cloud-init.cfg
state: absent
- name: cleanup system
apt:
name: "{{ packages }}"
......@@ -99,10 +104,13 @@
packages:
- libreoffice-common
- gimp
- cloud-init
- name: Remove /etc/network/interfaces.d/50-cloud-init.cfg
file:
path: /etc/network/interfaces.d/50-cloud-init.cfg
- name: remove cloud-init
apt:
name: "{{ packages }}"
state: absent
vars:
packages:
- cloud-init
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment