mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-21 19:40:18 +00:00
Adding user nix
This commit is contained in:
@@ -350,3 +350,4 @@
|
|||||||
- include: users/bacteria.yml
|
- include: users/bacteria.yml
|
||||||
- include: users/lbcnz.yml
|
- include: users/lbcnz.yml
|
||||||
- include: users/kax.yml
|
- include: users/kax.yml
|
||||||
|
- include: users/nix.yml
|
||||||
|
|||||||
15
roles/shell/tasks/users/nix.yml
Normal file
15
roles/shell/tasks/users/nix.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: Setting up nix
|
||||||
|
user:
|
||||||
|
name: nix
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/nix
|
||||||
|
- authorized_key:
|
||||||
|
user: nix
|
||||||
|
state: present
|
||||||
|
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZwmxU7vtTgk8Z9sBpulh9kQ8bn8HR3dlqyQZ41QAdHB/2onwb17UAR44YoiIYhGm6Th0P6xT0HRaiva9lYE4S76hru9akU56b566IIisIV9FUHeyfXOZZi3PayhnRldke9kbxMYuxeWbn0kiQ8Y168GnejL2oJtgYeQw0ccVTxEjYWL+MTA0ZgUrq9lujrcsst8My/K5jd5Nemf537gvuaebNBKJFfHlHqntrPkqq93fhJLZmgonjFiPNBf4ugrsGAkyZ0idI0JZ0AjfQrdxTpHEw2HSnfwD7OKH7PjBy9h2hpG67UBGZY7wId9Xdp+gA5HBinogpqW4VOu0uA+9f"
|
||||||
Reference in New Issue
Block a user