Remove pycache entries on update

This commit is contained in:
Joshua Boniface 2023-11-25 00:51:13 -05:00
parent fef97f0b04
commit 7dbabf76c5
1 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,11 @@
file:
dest: /var/cache/apt/archives
state: absent
- name: clean pycaches
command: 'find /usr/share/pvc -name "__pycache__" -exec rm -r {} \;'
ignore_errors: true
- name: restart daemons cleanly
block:
- name: secondary node