connection

12 Ansible tutorials tagged “connection”. Working examples covering automation, configuration management, and DevOps workflows.

Fix Ansible \"Could Not Resolve Hostname\" — DNS & Inventory Troubleshooting

troubleshooting · 4

Troubleshoot Ansible 'could not resolve hostname' errors. Fix DNS issues, inventory misconfigurations, SSH connection problems, and VPN/network issues.

beginner

Ansible troubleshooting — Failed to connect to the host via ssh host localhost port 22

playbooks · 2

In Ansible troubleshooting, learn about the Failed to connect to the host via SSH error, common during local testing with ansible_connection local.

Beginner

Ansible SSH Password Auth — sshpass

playbooks · 4

Fix 'to use ssh with passwords you must install sshpass' error. Install sshpass on Ubuntu, RHEL, macOS, and configure Ansible SSH password auth safely.

Beginner

Checkout Git Repository via HTTPS — Ansible git Module Guide

playbooks · 5

Automate Git repository cloning and updates with Ansible git module. Complete guide covering HTTPS checkout, version pinning, sparse checkout, deploy.

Advanced

ansible.builtin.git Module — Clone via SSH

playbooks · 5

Clone Git repositories with Ansible's ansible.builtin.git module over SSH. Configure SSH keys, deploy branches/tags, and handle submodules.

Beginner

How to Fix Ansible Connection Failures: Complete Troubleshooting Guide

playbooks · 6

Complete guide to troubleshooting Ansible connection failures. Fix SSH timeouts, authentication errors, WinRM issues, privilege escalation failures.

Beginner

Execute command on the Ansible host — Ansible localhost

playbooks · 2

How to execute Ansible command(s) or task(s) on localhost using the connection plugin local and the right ansible internals variables.

Beginner

Exploring the Marvel of Taj Mahal India — A Journey with Luca Berton

advanced · 3

Standing in front of the Taj Mahal make me reflect about the importance of cloud-native applications nowadays. With tested, real-world examples.

Advanced

Ansible Ignore SSH Host Key Checking

playbooks · 3

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.

Beginner

SSH Unknown Error in Ansible: Causes and Fixes

networking · 3

Fix the SSH 'unknown error' when connecting to hosts on port 22 with Ansible. Covers common causes: key issues, firewall rules, DNS resolution, and SSH.

Beginner

Ansible win_ping — Test Windows Host

playbooks · 5

Use the Ansible win_ping module to test WinRM connectivity and PowerShell availability on Windows hosts. Complete guide with playbook examples,.

Beginner

ansible_password vs ansible_ssh_pass: SSH Authentication in Ansible

playbooks · 3

Learn the difference between ansible_password and ansible_ssh_pass in Ansible. Configure password-based SSH authentication with practical examples,.

Beginner