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.
Mar 9, 22
Execute command on the Ansible host - Ansible localhost
How to execute Ansible command(s) or task(s) on localhost using the connection plugin local and the right ansible internals variables.
Sep 16, 21
Checkout git repository via SSH - Ansible module git
How to checkout a git repository via SSH using Ansible module git.
Aug 20, 21
Test Windows host availability - Ansible module win_ping
Deep dive into the Ansible module win_ping in the collection ansible.windows to test the access to a managed Windows host and that that there is a shell usually PowerShell available. Live demo and Ansible playbook included.
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.
Aug 10, 21
Checkout git repository via HTTPS - Ansible module git
How to checkout a git repository via HTTPS using Ansible module git.
Jul 27, 21
Test host availability - Ansible module ping
Deep dive into the Ansible module ping in the collection ansible.builtin to test the access to a managed host and that Python is installed. Live demo and Ansible playbook included.