You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/connection_remote_is_local/connection_plugins/remote_is_local.py

26 lines
699 B
Python

# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
DOCUMENTATION = '''
name: remote_is_local
short_description: remote is local
description:
- remote_is_local
author: ansible (@core)
version_added: historical
extends_documentation_fragment:
- connection_pipelining
notes:
- The remote user is ignored, the user with which the ansible CLI was executed is used instead.
'''
from ansible.plugins.connection.local import Connection as LocalConnection
class Connection(LocalConnection):
_remote_is_local = True