Interview Prep/Ansible/Fundamentals and Architecture

What are connection plugins? Name the common ones.

IntermediateConceptFundamentals and Architecture
Answer

A connection plugin defines how Ansible talks to a host. It is selected with ansible_connection.

  • ssh (default for Linux), paramiko_ssh (pure Python fallback)
  • local — run on the control node itself
  • winrm, psrp — Windows
  • docker, podman, kubectl — execute inside containers
  • network_cli, netconf, httpapi — network devices
  • community.aws.aws_ssm — over AWS Systems Manager, no SSH needed
[web]
app1 ansible_connection=community.aws.aws_ssm
All Ansible questions Roadmap: Ansible

More on Fundamentals and Architecture