Aggiunta dell'utente nel gruppo nix-users.
This commit is contained in:
parent
38bff506f7
commit
5a6a41a5cb
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
||||||
---
|
---
|
||||||
# Configuring nix.
|
# Configuring nix.
|
||||||
|
|
||||||
|
- name: Adding current user to nix-users
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ ansible_user_id }}"
|
||||||
|
groups: nix-users
|
||||||
|
append: true
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Create configuration directory
|
- name: Create configuration directory
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ userconfigdir }}"
|
path: "{{ userconfigdir }}"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue