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 itselfwinrm,psrp— Windowsdocker,podman,kubectl— execute inside containersnetwork_cli,netconf,httpapi— network devicescommunity.aws.aws_ssm— over AWS Systems Manager, no SSH needed
[web]
app1 ansible_connection=community.aws.aws_ssm
More on Fundamentals and Architecture
What is Ansible and what problem does it solve?BeginnerWhat does "agentless" mean in Ansible?BeginnerWhat are the requirements for the control node?BeginnerWhat does a managed node need?BeginnerIs Ansible push-based or pull-based?BeginnerWalk through what happens when you run `ansible-playbook site.yml`.Intermediate