mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-30 00:11:03 +01:00
Optimized password related stuff
This commit is contained in:
parent
eca64d5a6a
commit
1babc060a5
@ -1 +1 @@
|
|||||||
administrator ALL=(ALL:ALL) ALL
|
administrator ALL=(ALL) ALL
|
||||||
|
@ -4,7 +4,8 @@
|
|||||||
generate_ssh_key: yes
|
generate_ssh_key: yes
|
||||||
ssh_key_bits: 4096
|
ssh_key_bits: 4096
|
||||||
ssh_key_file: .ssh/id_rsa
|
ssh_key_file: .ssh/id_rsa
|
||||||
group: administrator
|
update_password: on_create
|
||||||
|
password: "{{ user_administrator_password | password_hash('sha512') }}"
|
||||||
|
|
||||||
- name: create /home/administrator/.ssh/authorized_keys
|
- name: create /home/administrator/.ssh/authorized_keys
|
||||||
copy:
|
copy:
|
||||||
|
Loading…
Reference in New Issue
Block a user