%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3.9/site-packages/ansible/plugins/action/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3.9/site-packages/ansible/plugins/action/__pycache__/async_status.cpython-39.pyc

a

�)g �@sPddlmZmZmZeZddlmZddlm	Z	ddl
mZGdd�de	�ZdS)�)�absolute_import�division�print_function)�AnsibleActionFail)�
ActionBase)�
merge_hashcs&eZdZdd�Zd�fdd�	Z�ZS)�ActionModulecCs|jddd�}|�|�S)N�	async_dirz~/.ansible_async)�default)Zget_shell_optionZ_remote_expand_user)�selfr	�r�G/usr/lib/python3.9/site-packages/ansible/plugins/action/async_status.py�_get_async_dirszActionModule._get_async_dirNc
s�tt|��||�}|jddd�dddgdd�d�d�\}}d	|d
<|d<d|d
<|d<g|d<|d<|d}|d}||d<|��}|jj�||�}	|dkr�|	|d<n|	|d<d|d
<||d<t||j	d||d��}|S)N�strT)�type�required�statusZcleanup)r�choicesr
)�jid�mode)Z
argument_specr�started�finished��stdout�stderrZstdout_linesZstderr_linesrrZansible_job_idZerasedZresults_file�Z
_async_dirzansible.legacy.async_status)Zmodule_name�	task_varsZmodule_args)
�superr�runZvalidate_argument_specrZ_connectionZ_shellZ	join_pathrZ_execute_module)
r�tmpr�resultsZvalidation_resultZnew_module_argsrrr	Zlog_path��	__class__rr
rs*��

zActionModule.run)NN)�__name__�
__module__�__qualname__rr�
__classcell__rrr!r
rsrN)
Z
__future__rrrrZ
__metaclass__Zansible.errorsrZansible.plugins.actionrZansible.utils.varsrrrrrr
�<module>s


Zerion Mini Shell 1.0