mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
initial cleanup server-manager
This commit is contained in:
3
roles/native-user-administrator/Readme.md
Normal file
3
roles/native-user-administrator/Readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Role Administrator
|
||||
This role creates an standard administrator user.
|
||||
For security reasons it's recommended to use this user instead of the standard root user.
|
7
roles/native-user-administrator/tasks/main.yml
Normal file
7
roles/native-user-administrator/tasks/main.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
- name: create administrator
|
||||
user:
|
||||
name: administrator
|
||||
generate_ssh_key: yes
|
||||
ssh_key_bits: 4096
|
||||
ssh_key_file: .ssh/id_rsa
|
||||
group: sudo
|
Reference in New Issue
Block a user