mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
Removed ssh key generation because administrator doesn't need to connect to other pcs
This commit is contained in:
parent
c45fa6ce94
commit
e2091a0df7
@ -2,3 +2,5 @@
|
||||
This role creates an standard administrator user.
|
||||
This user needs to type in his password before executing sudo.
|
||||
For security reasons it's recommended to use this user instead of the standard root user.
|
||||
This user should not be used to login to other systems. It's just there to let administration tasks run.
|
||||
For this reason no ssh-keys are generated.
|
||||
|
@ -1,9 +1,6 @@
|
||||
- name: create administrator
|
||||
user:
|
||||
name: administrator
|
||||
generate_ssh_key: yes
|
||||
ssh_key_bits: 4096
|
||||
ssh_key_file: .ssh/id_rsa
|
||||
update_password: on_create
|
||||
password: "{{ user_administrator_initial_password | password_hash('sha512') }}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user