Adding k4j user account

This commit is contained in:
Ubergeek 2019-01-20 01:54:58 +00:00
parent 2239ab3bd8
commit 1080049fa1
2 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# This creates our users on the system
---
- group:
name: tilde
@ -39,3 +39,4 @@
- include: users/user.yml
- include: users/angelok.yml
- include: users/johnc.yml
- include: users/k4j.yml

View File

@ -0,0 +1,16 @@
---
- name: Setting up k4j
user:
name: k4j
groups: tilde
state: present
skeleton: /etc/skel
shell: /bin/bash
system: no
createhome: yes
home: /home/k4j
- authorized_key:
user: k4j
state: present
key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCpZZP7kYzdFelBklSFv03+gNlWGkj6BRwJ2dogBSJOGLtU9vw3iH4O40YVB1w6hDrdiaGm8CD5dsbJIGsU/UKXAbyeowXG+e/TEb53CrX8A97wvAoIOL1f06JdBtA9wF1TCDm+JFxDizC6GZ0m5gZg1pH5NfIFPfHJHzejCP+wq7HeJ9jQNFB6P5gVLQpaQFboZ3QfLxkFu4EeRoh4WXXA69lmsx1V2xFBoIVoKFYW8GlIUIpuy7pUCYIyZZRavT0OQ1CUmCob7vI5twz7upDATlLMctgEAtGWIbZGQ+GivnxIJ3TXlr41T8OMqar6cYgOGnP3ozTqgt/uqWSkS/Zr Kaj@Kajs-MacBook-Pro.local"