What does localhost ansible_connection=local tell Ansible in an inventory?
localhost ansible_connection=local
Ignore the host because it is not remote
Rename the host itself to local
local
Execute tasks on the controller's local machine instead of connecting over SSH
Force an SSH connection to localhost