forked from thunix/ansible
Adding user igor
This commit is contained in:
parent
0e88b46889
commit
48cbb3295f
|
@ -241,3 +241,4 @@
|
||||||
- include: users/farooqkz.yml
|
- include: users/farooqkz.yml
|
||||||
- include: users/hellspawn.yml
|
- include: users/hellspawn.yml
|
||||||
- include: users/kuldar.yml
|
- include: users/kuldar.yml
|
||||||
|
- include: users/igor.yml
|
||||||
|
|
15
roles/shell/tasks/users/igor.yml
Normal file
15
roles/shell/tasks/users/igor.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
- name: Setting up igor
|
||||||
|
user:
|
||||||
|
name: igor
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/igor
|
||||||
|
- authorized_key:
|
||||||
|
user: igor
|
||||||
|
state: present
|
||||||
|
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMDy+FMkM8Dhjj57dIZa6Aw3nvBIHiIzBU/rwNtOL20V"
|
Loading…
Reference in New Issue
Block a user