From 6267c9da335bb199e174a1c7e7b5db5989b958dc Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Thu, 30 Jan 2020 07:13:19 -0500 Subject: [PATCH] Adding user grifit --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/grifit.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/grifit.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index fbd031e..22c46b9 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -177,3 +177,4 @@ - include: users/alotl.yml - include: users/yaya1.yml - include: users/spike.yml +- include: users/grifit.yml diff --git a/roles/shell/tasks/users/grifit.yml b/roles/shell/tasks/users/grifit.yml new file mode 100644 index 0000000..4a01e41 --- /dev/null +++ b/roles/shell/tasks/users/grifit.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up grifit + user: + name: grifit + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/grifit +- authorized_key: + user: grifit + state: present + key: "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAqUov/1nlKuLVZGHSXLT+4yYvIsxLI5LMTC9aBx04F0Y55DLjhF8aecJznDcrj5j6ru6uGH71cJOv3jivOwzihejPVhnSiwEKUHlux+4luALB6x/iUCCoSX13LglhY00VwsbehPmNPcU0FSwcy2PnoVQ8Xqrg9slERAKNaQo1TU2L5vXG/"