summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/connection_remote_is_local/connection_plugins/remote_is_local.py
blob: 818bca47ab4f4a499068c3ef6e83b3ca20445739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# 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