From 4933df5a6920a6772337b4df7d4c6795b01d7f44 Mon Sep 17 00:00:00 2001 From: Emiliano Vavassori Date: Sun, 15 Dec 2024 00:11:22 +0100 Subject: [PATCH] Aggiunta creazione cartella anche per lancio con utente. --- roles/nix/tasks/configuration.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/nix/tasks/configuration.yml b/roles/nix/tasks/configuration.yml index 480664b..0a56f64 100644 --- a/roles/nix/tasks/configuration.yml +++ b/roles/nix/tasks/configuration.yml @@ -46,6 +46,11 @@ append: true become: true + - name: Assure configuration folder exists + ansible.builtin.file: + path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config" + state: directory + - name: Adding configuration to local user ansible.builtin.file: src: "{{ dotfdir }}/nix"