diff --git a/roles/shell/tasks/users.yml b/roles/shell/tasks/users.yml index 8dcd2a7..0226160 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/testyuser.yml diff --git a/roles/shell/tasks/users/testyuser.yml b/roles/shell/tasks/users/testyuser.yml new file mode 100644 index 0000000..f1c5aee --- /dev/null +++ b/roles/shell/tasks/users/testyuser.yml @@ -0,0 +1,15 @@ +--- +- name: Setting up testyuser + user: + name: testyuser + groups: tilde + state: present + skeleton: /etc/skel + shell: /bin/bash + system: no + createhome: yes + home: /home/testyuser +- authorized_key: + user: testyuser + state: present + key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCuhWim/XCzkdKpIR8e0muwH6U7MbSuxBoYHgNhV42ecahnWt8SBuzIH5fdYThwleRNRPW2LtEOIhtcNJa58hwDiE1OMcV4P3mjeIXDSWV0rW7ksCwNS2IO06EYJ+sfWYPL4E7OGe7uUHmvNAMAGAJmtng4IkgwPNAWXPoSquxRsCsfAMK+6LXT52Zh/ma++k/ZE0DEuiwk8p+7FJuwIMJ9po1Q67yq5Ue5y8MBqWjZrJVC8CBsMWlQojKptdIMZJsdycij5NZ81HGQ4d1CY+WvxcUaB1j/wHG3jtWRwa2BMoGgPFyP+YoB1j0TW9JRFoJMg0RYoZosCBWcouOoAHtj ubergeek@thunix.net"