From 0e97944686b3381082fba6ed173c535c26adbba2 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Tue, 3 May 2022 21:04:28 +0200 Subject: [PATCH] Adding user johk --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/johk.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/johk.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index de59cf3..1bb706c 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -341,3 +341,4 @@ - include: users/amixade.yml - include: users/incognito.yml - include: users/liltechdude.yml +- include: users/johk.yml diff --git a/roles/shell/tasks/users/johk.yml b/roles/shell/tasks/users/johk.yml new file mode 100644 index 0000000..2234118 --- /dev/null +++ b/roles/shell/tasks/users/johk.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up johk + user: + name: johk + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/johk +- authorized_key: + user: johk + state: present + key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHjgad/X8RRns5+gTjK33pQ+tobGf9fMCgLwLELALgUb john@kte"