infralab/ansible/set-ssh.yml
oleg.vodyanov91@gmail.com 485dfe038e change ssh config
2025-05-16 00:53:55 +04:00

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