mirror of
https://github.com/ThunixdotNet/ansible.git
synced 2026-03-18 10:30:17 +00:00
Merge branch 'amcclure' of thunix/ansible into master
This commit is contained in:
@@ -15,3 +15,4 @@
|
|||||||
- include: users/slip.yml
|
- include: users/slip.yml
|
||||||
- include: users/parik.yml
|
- include: users/parik.yml
|
||||||
- include: users/quetzalcoatl.yml
|
- include: users/quetzalcoatl.yml
|
||||||
|
- include: users/redhat.yml
|
||||||
|
|||||||
16
roles/shell/tasks/users/redhat.yml
Normal file
16
roles/shell/tasks/users/redhat.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
---
|
||||||
|
- name: Setting up redhat
|
||||||
|
user:
|
||||||
|
name: redhat
|
||||||
|
groups: tilde
|
||||||
|
state: present
|
||||||
|
skeleton: /etc/skel
|
||||||
|
shell: /bin/bash
|
||||||
|
system: no
|
||||||
|
createhome: yes
|
||||||
|
home: /home/redhat
|
||||||
|
|
||||||
|
- authorized_key:
|
||||||
|
user: redhat
|
||||||
|
state: present
|
||||||
|
key: "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA2J1CJ8/6LDq83gahh4WwoSldjE91fpwh2DX6vlCqNV5uiM8NpCNWRyeUZV3zkG04XtyuE6yNsGvqpGFAbK47TiOAXv9bC2n2nt+WXZ8nVtfHr0A2ajXP/6E/v++lcX34x2kw1lFeWzqXCpaPlJojfUYAe/YKoAns9nVcMyIgeaiNyWouf4dpCo9p+uH2mjpTuG+Ty87DEvJT1FiyKgxtqXZim6M79vgIerCjBPw+neIGT3Q7OHZzfBcO0IpGVvnlevEpYQx6RjjMAUle3I5WkZrNesb5zSpYbmxrnAxmeWcVVxKQ2HP5Ousa62oTuJ2c3L6U6OwvXzJZLyx50G7rtQ== root"
|
||||||
Reference in New Issue
Block a user