9 lines
213 B
YAML
9 lines
213 B
YAML
---
|
|
# if there is only password auth set on a server then run the following
|
|
# ansible-playbook -i hosts -l <host> set-ssh.yml --diff --ask-pass -K
|
|
- hosts: homelab
|
|
become: true
|
|
roles:
|
|
- ssh
|
|
- sudoers
|