summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2c91400)
Cleanup user, then report user's free space.
Then cleanup root, then report root's free space.
Necessary to not clobber user's data with root's.
user: phd
when: user_cache_exists.stat.exists
user: phd
when: user_cache_exists.stat.exists
+- name: du ~phd/.cache/pip
+ import_tasks: show-user.yml
+ vars:
+ user: phd
+ when: user_cache_exists.stat.exists
+
- name: Cleanup ~root/.cache/pip
import_tasks: cleanup-user.yml
vars:
- name: Cleanup ~root/.cache/pip
import_tasks: cleanup-user.yml
vars:
user: root
when: root_cache_exists.stat.exists
user: root
when: root_cache_exists.stat.exists
-- name: du ~phd/.cache/pip
- import_tasks: show-user.yml
- vars:
- user: phd
- when: user_cache_exists.stat.exists
-
- name: du ~root/.cache/pip
import_tasks: show-user.yml
vars:
- name: du ~root/.cache/pip
import_tasks: show-user.yml
vars: