mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 05:30:18 +00:00
Adding user h
This commit is contained in:
@@ -57,3 +57,4 @@
|
|||||||
- include: users/tyy.yml
|
- include: users/tyy.yml
|
||||||
- include: users/gigmx.yml
|
- include: users/gigmx.yml
|
||||||
- include: users/majidhameed.yml
|
- include: users/majidhameed.yml
|
||||||
|
- include: users/h.yml
|
||||||
|
|||||||
15
roles/shell/tasks/users/h.yml
Normal file
15
roles/shell/tasks/users/h.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: Setting up h
|
||||||
|
user:
|
||||||
|
name: h
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/h
|
||||||
|
- authorized_key:
|
||||||
|
user: h
|
||||||
|
state: present
|
||||||
|
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINt2a90OR+l5EPbmzOvLScaN0BxOMnR28b5TRTfO0YBH h@firepi"
|
||||||
Reference in New Issue
Block a user