Aggiunta creazione cartella.

This commit is contained in:
Emiliano Vavassori 2024-12-15 00:02:45 +01:00
parent 64f463a1bc
commit 925faaa0b7

View File

@ -16,6 +16,14 @@
become_user: root become_user: root
become: true become: true
- name: Assure configuration folder exists
ansible.builtin.file:
path: "{{ lookup('ansible.builtin.env', 'HOME') }}/.config/nix"
state: directory
owner: "{{ additional_user }}"
become: true
become_user: "{{ additional_user }}"
- name: Adding configuration to local user - name: Adding configuration to local user
ansible.builtin.file: ansible.builtin.file:
src: "{{ dotfdir }}/nix" src: "{{ dotfdir }}/nix"