mirror of
https://github.com/ansible/ansible.git
synced 2026-07-29 16:35:20 +02:00
* Move the shell target to group4 controller * rename shell target to shell-plugins
18 lines
521 B
Python
18 lines
521 B
Python
# This file is part of Ansible
|
|
|
|
# Copyright (c) 2019 Ansible Project
|
|
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
|
|
from __future__ import annotations
|
|
|
|
from ansible.plugins.action import ActionBase
|
|
|
|
|
|
class ActionModule(ActionBase):
|
|
|
|
def run(self, tmp=None, task_vars=None):
|
|
result = super(ActionModule, self).run(tmp, task_vars)
|
|
del tmp # tmp no longer has any effect
|
|
result['shell'] = self._connection._shell.SHELL_FAMILY
|
|
return result
|