ansible.builtin.local connection – execute on controller
Note
This connection plugin is part of ansible-core and included in all Ansible installations. In most cases, you can use the short plugin name local. However, we recommend you use the Fully Qualified Collection Name (FQCN) ansible.builtin.local for easy linking to the plugin documentation and to avoid conflicting with other collections that may have the same connection plugin name.
Synopsis
- This connection plugin allows ansible to execute tasks on the Ansible ‘controller’ instead of on a remote host.
Aliases: redirected_local
Parameters
Parameter | Comments |
|---|---|
pipelining boolean | Pipelining reduces the number of connection operations required to execute a module on the remote server, by executing many Ansible modules without actual file transfers. This can result in a very significant performance improvement when enabled. However this can conflict with privilege escalation ( Choices:
Configuration:
|
Notes
Note
- The remote user is ignored, the user with which the ansible CLI was executed is used instead.
Collection links
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/local_connection.html