diff --git a/oneshot/update-pvc-daemons.yml b/oneshot/update-pvc-daemons.yml index b4b7b4a..b6e7208 100644 --- a/oneshot/update-pvc-daemons.yml +++ b/oneshot/update-pvc-daemons.yml @@ -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