mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-19 10:50:18 +00:00
Adding user shark
This commit is contained in:
@@ -159,3 +159,4 @@
|
|||||||
- include: users/dingb4t.yml
|
- include: users/dingb4t.yml
|
||||||
- include: users/kronos.yml
|
- include: users/kronos.yml
|
||||||
- include: users/leonid.yml
|
- include: users/leonid.yml
|
||||||
|
- include: users/shark.yml
|
||||||
|
|||||||
15
roles/shell/tasks/users/shark.yml
Normal file
15
roles/shell/tasks/users/shark.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: Setting up shark
|
||||||
|
user:
|
||||||
|
name: shark
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/shark
|
||||||
|
- authorized_key:
|
||||||
|
user: shark
|
||||||
|
state: present
|
||||||
|
key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEA+UiWE1CmHYluEgaWkgWP3Lj81M8Kav6v8+QKPVOjYksQ1TsZBQWBFRz9pQe4KxgqNLas6S6ChQt7y6rB/LPVm+gEYiHD2awVs2Gvlo5eYfSNuZzcWgHVDL182mb3HDPbI1Rrvfn5kZl8WPeYiHsFsfGHOhk7M3Bvmos9z6fcSyprlZThcGVDFICvEgVMB3wrddVf7h8rL1wmqqapDRmGympdinu412KFzbVxL8J6wGsHSuI+DuGTfXo7OqnWwK2RmwmB85lcZSSU/9adrL3bNm3bv8wWTrlJts7gUOqi7ZBHzXMtR0LCwyUmHYH1NKyQoUX6SY2eAs7ohrHhmpRFQQ=="
|
||||||
Reference in New Issue
Block a user