Skip to content

Commit

Permalink
[ansible/venv] Improve cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
goldyfruit committed May 24, 2024
1 parent 455c98c commit 348f974
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ansible/roles/ovos_installer/tasks/virtualenv/gui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,9 @@
- /usr/share/OVOS
- /usr/lib64/qt5/qml/org/kde/lottie
- /usr/lib/aarch64-linux-gnu/qt5/qml/org/kde/lottie
- /usr/lib/aarch64-linux-gnu/qt5/qml/Mycroft/libmycroftplugin.so
- "{{ ovos_installer_user_home }}/.config/ovos-eglfs.json"
- "{{ ovos_installer_user_home }}/.cache/mycroft.gui"
when: ovos_installer_cleaning | bool
tags:
- uninstall
8 changes: 7 additions & 1 deletion ansible/roles/ovos_installer/tasks/virtualenv/systemd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,12 +283,18 @@
ansible.builtin.file:
path: "{{ item }}"
state: absent
loop:
loop:
- "{{ ovos_installer_user_home }}/.cache/mycroft"
- "{{ ovos_installer_user_home }}/.config/mycroft"
- "{{ ovos_installer_user_home }}/.config/hivemind"
- "{{ ovos_installer_user_home }}/.config/OpenVoiceOS"
- "{{ ovos_installer_user_home }}/.config/OvosTheme"
- "{{ ovos_installer_user_home }}/.config/OvosDisplay.conf"
- "{{ ovos_installer_user_home }}/.config/ovos-installer"
- "{{ ovos_installer_user_home }}/.local/share/mycroft"
- "{{ ovos_installer_user_home }}/.local/share/OpenVoiceOS"
- "{{ ovos_installer_user_home }}/.local/share/precise-lite"
- "{{ ovos_installer_user_home }}/.local/state/mycroft"
- "{{ ovos_installer_user_home }}/.local/state/vosk"
- "{{ ovos_installer_user_home }}/nltk_data"
- "{{ ovos_installer_user_home }}/stdout"

0 comments on commit 348f974

Please sign in to comment.