mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-25 05:40:17 +00:00
Adding user ayush
This commit is contained in:
@@ -343,3 +343,4 @@
|
||||
- include: users/youngchief.yml
|
||||
- include: users/subhambh.yml
|
||||
- include: users/imperishable_dusk.yml
|
||||
- include: users/ayush.yml
|
||||
|
||||
15
roles/shell/tasks/users/ayush.yml
Normal file
15
roles/shell/tasks/users/ayush.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
---
|
||||
- name: Setting up ayush
|
||||
user:
|
||||
name: ayush
|
||||
groups: tilde
|
||||
state: present
|
||||
skeleton: /etc/skel
|
||||
shell: /bin/bash
|
||||
system: no
|
||||
createhome: yes
|
||||
home: /home/ayush
|
||||
- authorized_key:
|
||||
user: ayush
|
||||
state: present
|
||||
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJGGcf0vltglXy0VO8SkS/8J2vMk/J7SNWzZ0GfxL3oP"
|
||||
Reference in New Issue
Block a user