From 37bead96b5b76fd346daaf74a97c9b53ef1edae6 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Fri, 8 Jan 2021 21:49:47 +0100 Subject: [PATCH] Adding user mcornick --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/mcornick.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/mcornick.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index 1a3a1e3..e33b9b4 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -304,3 +304,4 @@ - include: users/zackward.yml - include: users/jack.yml - include: users/xlamer.yml +- include: users/mcornick.yml diff --git a/roles/shell/tasks/users/mcornick.yml b/roles/shell/tasks/users/mcornick.yml new file mode 100644 index 0000000..c033161 --- /dev/null +++ b/roles/shell/tasks/users/mcornick.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up mcornick + user: + name: mcornick + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/mcornick +- authorized_key: + user: mcornick + state: present + key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHdYz/7llKpHco2IzZDW+tLKo+b3hZOecocnFtspIf3E"