Tags
#automation
Missing sudo password
Infrastructure as Code
Ansible "Missing sudo password": give it the password safely, or allow the user properly
Fix Ansible "Missing sudo password": use --ask-become-pass, ansible-vault for the become password, or NOPASSWD in sudoers, plus "Incorrect sudo password" and timeouts.
Beginner · 4 min read
UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh
Infrastructure as Code
Ansible "UNREACHABLE! Failed to connect to the host via ssh": find the real SSH error
Fix Ansible UNREACHABLE: read the SSH error in the message, check the inventory, reproduce with -vvv and plain ssh, then fix keys, users or host keys.
Beginner · 4 min read