diff --git a/roles/nix/tasks/configuration.yml b/roles/nix/tasks/configuration.yml index ec5e441..2ac1763 100644 --- a/roles/nix/tasks/configuration.yml +++ b/roles/nix/tasks/configuration.yml @@ -33,7 +33,7 @@ - name: Adding user to nix-users ansible.builtin.user: - name: "{{ ansible_user }}" + name: "{{ ansible_user_id }}" groups: nix-users append: true become: true