From f1d9c968a86b5f58cb04422ea465f68c46305d70 Mon Sep 17 00:00:00 2001 From: goldyfruit Date: Thu, 30 Jan 2025 15:17:45 -0500 Subject: [PATCH] [ansible/ovos] Make sure .local/state/mycroft is created --- ansible/roles/ovos_installer/tasks/ovos.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/ovos_installer/tasks/ovos.yml b/ansible/roles/ovos_installer/tasks/ovos.yml index 92bb183..af24f19 100644 --- a/ansible/roles/ovos_installer/tasks/ovos.yml +++ b/ansible/roles/ovos_installer/tasks/ovos.yml @@ -11,6 +11,7 @@ - "{{ ovos_installer_user_home }}/.config/wireplumber/*" - "{{ ovos_installer_user_home }}/.local/share/hivemind/*" - "{{ ovos_installer_user_home }}/.local/state/ovos/*" + - "{{ ovos_installer_user_home }}/.local/state/mycroft/*" when: ovos_installer_cleaning | bool tags: - uninstall @@ -68,6 +69,7 @@ state: directory loop: - { "directory": "{{ ovos_installer_user_home }}/.config/mycroft", "status": true } + - { "directory": "{{ ovos_installer_user_home }}/.local/state/mycroft", "status": true } - { "directory": "{{ ovos_installer_user_home }}/.config/hivemind", "status": "{{ 'false' if ovos_installer_profile == 'ovos' else 'true' }}" } - { "directory": "{{ ovos_installer_user_home }}/.config/systemd/user", "status": true } - { "directory": "{{ ovos_installer_user_home }}/nltk_data", "status": true }