From 5158ab3def334493a74aed6320164a90746a560e Mon Sep 17 00:00:00 2001 From: Naglfar Date: Sun, 9 May 2021 18:22:21 +0200 Subject: [PATCH] Adding user ayush --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/ayush.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/ayush.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index d256255..e14e1a8 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -343,3 +343,4 @@ - include: users/youngchief.yml - include: users/subhambh.yml - include: users/imperishable_dusk.yml +- include: users/ayush.yml diff --git a/roles/shell/tasks/users/ayush.yml b/roles/shell/tasks/users/ayush.yml new file mode 100644 index 0000000..c06d22b --- /dev/null +++ b/roles/shell/tasks/users/ayush.yml @@ -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"