From 81b726eb2ef772b91465dc9ad85a467f5204c7e5 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Sat, 30 Nov 2019 23:36:12 +0000 Subject: [PATCH] Adding user newtest --- roles/shell/tasks/users.yml | 1 + roles/shell/tasks/users/newtest.yml | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 roles/shell/tasks/users/newtest.yml diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index 8dcd2a74..33a8c250 100644 --- a/roles/shell/tasks/users.yml +++ b/roles/shell/tasks/users.yml @@ -163,3 +163,4 @@ - include: users/stereo.yml - include: users/joro.yml - include: users/info.yml +- include: users/newtest.yml diff --git a/roles/shell/tasks/users/newtest.yml b/roles/shell/tasks/users/newtest.yml new file mode 100644 index 00000000..bc603eef --- /dev/null +++ b/roles/shell/tasks/users/newtest.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up newtest + user: + name: newtest + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/newtest +- authorized_key: + user: newtest + state: present + key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuhWim/XCzkdKpIR8e0muwH6U7MbSuxBoYHgNhV42ecahnWt8SBuzIH5fdYThwleRNRPW2LtEOIhtcNJa58hwDiE1OMcV4P3mjeIXDSWV0rW7ksCwNS2IO06EYJ+sfWYPL4E7OGe7uUHmvNAMAGAJmtng4IkgwPNAWXPoSquxRsCsfAMK+6LXT52Zh/ma++k/ZE0DEuiwk8p+7FJuwIMJ9po1Q67yq5Ue5y8MBqWjZrJVC8CBsMWlQojKptdIMZJsdycij5NZ81HGQ4d1CY+WvxcUaB1j/wHG3jtWRwa2BMoGgPFyP+YoB1j0TW9JRFoJMg0RYoZosCBWcouOoAHtj ubergeek@thunix.net"