home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ansible script: Improve X stuff.
[config]
/
ansible
/
tasks
/
initial_purge.yml
diff --git
a/ansible/tasks/initial_purge.yml
b/ansible/tasks/initial_purge.yml
index 13541702287ef65f8dc5566ee400bb9ce132f955..63fddd94769dbad8dee56d657685dbcdc456e63a 100644
(file)
--- 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
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
- 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