Disables SSH access for root on demand
This commit is contained in:
parent
a550c49dec
commit
177ba579e9
3 changed files with 44 additions and 3 deletions
|
|
@ -18,6 +18,10 @@ ensure_ansible_version: 2.10.3
|
|||
enable_sudo: yes
|
||||
# Allow passwordless sudo (applied to group wheel)
|
||||
enable_passwordless_sudo: yes
|
||||
# Allow root to connect through SSH
|
||||
enable_ssh_for_root: yes
|
||||
# Allow root to connect only using public key authentication, no password
|
||||
enable_ssh_for_root_prohibit_password: no
|
||||
# Skip provisioning of the firewall
|
||||
skip_firewall: no
|
||||
authorized_keys_are_exclusive: false # Be careful, this will delete non-Ansible-managed authorized keys from the target!
|
||||
authorized_keys_are_exclusive: false # Be careful, this will delete non-Ansible-managed authorized keys from the target!
|
||||
Loading…
Add table
Add a link
Reference in a new issue