X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;ds=sidebyside;f=ansible%2Ftasks%2Finitial_purge.yml;h=63fddd94769dbad8dee56d657685dbcdc456e63a;hb=2279599a597e4dac6e5892670847ef977513b110;hp=13541702287ef65f8dc5566ee400bb9ce132f955;hpb=2da55dda3ec713a4b92d5a18e645045183518624;p=config
diff --git a/ansible/tasks/initial_purge.yml b/ansible/tasks/initial_purge.yml
index 1354170..63fddd9 100644
--- a/ansible/tasks/initial_purge.yml
+++ b/ansible/tasks/initial_purge.yml
@@ -19,11 +19,7 @@
shell: DEBIAN_FRONTEND=noninteractive apt-get -y --purge autoremove
- name: ensure flags directory exists
- file:
- path: flags
- state: directory
+ file: path=flags state=directory
- name: set initial_purge_happened flag, so that this whole process does not get repeated
- file:
- path: flags/initial_purge_happened
- state: touch
+ file: path=flags/initial_purge_happened state=touch