home · contact · privacy
Reorganize and extend ansible attempt.
[config] / ansible / tasks / initial_purge.yml
index 13541702287ef65f8dc5566ee400bb9ce132f955..63fddd94769dbad8dee56d657685dbcdc456e63a 100644 (file)
   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