Adding user testyuser

This commit is contained in:
Ubergeek 2019-12-01 00:57:51 +00:00
parent f6b5d1d0c8
commit bff019163a
2 changed files with 16 additions and 0 deletions

View File

@ -163,3 +163,4 @@
- include: users/stereo.yml
- include: users/joro.yml
- include: users/info.yml
- include: users/testyuser.yml

View File

@ -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"