%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_fact.cpython-39.pyc

a

�)g�@stddlmZmZmZeZddlmZddlm	Z	ddl
mZddlm
Z
ddlmZddlmZGdd	�d	e
�ZdS)
�)�absolute_import�division�print_function)�AnsibleActionFail)�string_types)�boolean)�
ActionBase)�isidentifierNcs"eZdZdZd�fdd�	Z�ZS)�ActionModuleFNcs�|durt�}tt|��||�}~i}t|jj�dd��}|jjr�|jj��D]X\}}|j	�
|�}t|�svtd|��t
js�t|t�r�|��dvr�t|dd�}|||<qNntd��|r�||d<||d<ntd	��|S)
N�	cacheableFz�The variable name '%s' is not valid. Variables must start with a letter or underscore character, and contain only letters, numbers and underscores.)�trueZfalseZyes�no)�strictzPNo key/value pairs provided, at least one is required for this action to succeedZ
ansible_factsZ_ansible_facts_cacheablez6Unable to create any variables with provided arguments)�dict�superr
�runrZ_task�args�pop�itemsZ_templar�templater	r�CZDEFAULT_JINJA2_NATIVE�
isinstancer�lower)�self�tmpZ	task_vars�resultZfactsr�k�v��	__class__��C/usr/lib/python3.9/site-packages/ansible/plugins/action/set_fact.pyr"s,�
zActionModule.run)NN)�__name__�
__module__�__qualname__ZTRANSFERS_FILESr�
__classcell__r r rr!r
sr
)Z
__future__rrr�typeZ
__metaclass__Zansible.errorsrZansible.module_utils.sixrZ)ansible.module_utils.parsing.convert_boolrZansible.plugins.actionrZansible.utils.varsr	Zansible.constantsZ	constantsrr
r r r r!�<module>s

Zerion Mini Shell 1.0