From 012d7b1e0b1de8b399cc884408bff25fc34d6234 Mon Sep 17 00:00:00 2001 From: Naglfar Date: Sun, 10 Apr 2022 09:17:28 +0200 Subject: [PATCH] Adding user urandom0 --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/urandom0.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/urandom0.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index f6f71d9..c117f93 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -333,3 +333,4 @@ - include: users/thepineappleguy.yml - include: users/narendranath344.yml - include: users/enochthechronocom.yml +- include: users/urandom0.yml diff --git a/roles/shell/tasks/users/urandom0.yml b/roles/shell/tasks/users/urandom0.yml new file mode 100644 index 0000000..23fd02f --- /dev/null +++ b/roles/shell/tasks/users/urandom0.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up urandom0 + user: + name: urandom0 + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/urandom0 +- authorized_key: + user: urandom0 + state: present + key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINaeznteCkxTIJXsPAHLtEGsL1OLmml3UV0xHLEYc+yB balazs@thinkpad-fedora"