mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-24 04:40:19 +00:00
Adding k4j user account
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
# This creates our users on the system
|
|
||||||
---
|
---
|
||||||
- group:
|
- group:
|
||||||
name: tilde
|
name: tilde
|
||||||
@@ -39,3 +39,4 @@
|
|||||||
- include: users/user.yml
|
- include: users/user.yml
|
||||||
- include: users/angelok.yml
|
- include: users/angelok.yml
|
||||||
- include: users/johnc.yml
|
- include: users/johnc.yml
|
||||||
|
- include: users/k4j.yml
|
||||||
|
|||||||
16
roles/shell/tasks/users/k4j.yml
Normal file
16
roles/shell/tasks/users/k4j.yml
Normal 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"
|
||||||
Reference in New Issue
Block a user