May 7, 23
Ansible troubleshooting - use ssh with passwords
When you try to connect to a host via ssh with password your Ansible Playbook might end up with "you must install the sshpass program" error. Let's investigate together why this error happens and how to solve it!
Feb 27, 23
Ignore Ansible SSH Host Key Checking - Ansible configuration
How to avoid the SSH Host Key checking at the beginning of every Ansible execution in our laboratory, CI/CD pipeline, or cloud computing provider.
Oct 12, 22
Ansible troubleshooting - Failed to connect to the host via ssh host localhost port 22
How to solve the error connection failed fatal error when connecting via ssh host localhost port 22 when testing your code on your local machine using ansible_connection local parameter.
Jul 11, 22
Ansible troubleshooting - Destination does not exist rc 257
How to troubleshoot the error “Destination does not exist”, return code 257 enabling PasswordAuthentication for SSH using Ansible lineinfile module.
Sep 16, 21
Checkout git repository via SSH - Ansible module git
How to checkout a git repository via SSH using Ansible module git.
Aug 16, 21
Connection failed - Ansible troubleshooting
Connection failed errors are one of the most common Ansible problems. In a live demo, we are going to troubleshoot starting from the error message. We are going to investigate the root cause of the problem and fix it.