mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 19:31:26 -07:00
This creates a LocalConnection class for the case when operating on the localhost. If the host, argument to Connection.connect(), matches 127.0.0.1, localhost, or the name of the host as returned by os.uname()[1], Connection.connect() will opt to use LocalConnection instead of ParamikoConnection. LocalConnection implements connect(), exec_command(), put_file(), and close(). |
||
---|---|---|
.. | ||
__init__.py | ||
callbacks.py | ||
connection.py | ||
constants.py | ||
errors.py | ||
playbook.py | ||
runner.py | ||
utils.py |