mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-01-24 05:30:18 +00:00
Adding user alt
This commit is contained in:
@@ -61,3 +61,4 @@
|
|||||||
- include: users/amelia.yml
|
- include: users/amelia.yml
|
||||||
- include: users/angeliamodem.yml
|
- include: users/angeliamodem.yml
|
||||||
- include: users/rune.yml
|
- include: users/rune.yml
|
||||||
|
- include: users/alt.yml
|
||||||
|
|||||||
15
roles/shell/tasks/users/alt.yml
Normal file
15
roles/shell/tasks/users/alt.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
- name: Setting up alt
|
||||||
|
user:
|
||||||
|
name: alt
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/alt
|
||||||
|
- authorized_key:
|
||||||
|
user: alt
|
||||||
|
state: present
|
||||||
|
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOyRbb9L2bXzmMu13NewPzVWa7JYmvdCmnYrssc2ZY1k"
|
||||||
Reference in New Issue
Block a user