mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
[PR #9535/3af793c2 backport][stable-10] plugins (become, callback, filter): style adjustments (#9545)
plugins (become, callback, filter): style adjustments (#9535)
* plugins (become, callback, filter, inventory): style adjustments
* remove inventory plugins from PR
* adjustments from review
* typo
(cherry picked from commit 3af793c2c1)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -16,33 +16,33 @@ except ImportError:
|
||||
HAS_ZLIB = False
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
name: crc32
|
||||
short_description: Generate a CRC32 checksum
|
||||
version_added: 5.4.0
|
||||
description:
|
||||
- Checksum a string using CRC32 algorithm and return its hexadecimal representation.
|
||||
options:
|
||||
_input:
|
||||
description:
|
||||
- The string to checksum.
|
||||
type: string
|
||||
required: true
|
||||
author:
|
||||
- Julien Riou
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- name: Checksum a test string
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ 'test' | community.general.crc32 }}"
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
_value:
|
||||
description: CRC32 checksum.
|
||||
DOCUMENTATION = r"""
|
||||
name: crc32
|
||||
short_description: Generate a CRC32 checksum
|
||||
version_added: 5.4.0
|
||||
description:
|
||||
- Checksum a string using CRC32 algorithm and return its hexadecimal representation.
|
||||
options:
|
||||
_input:
|
||||
description:
|
||||
- The string to checksum.
|
||||
type: string
|
||||
'''
|
||||
required: true
|
||||
author:
|
||||
- Julien Riou
|
||||
"""
|
||||
|
||||
EXAMPLES = r"""
|
||||
- name: Checksum a test string
|
||||
ansible.builtin.debug:
|
||||
msg: "{{ 'test' | community.general.crc32 }}"
|
||||
"""
|
||||
|
||||
RETURN = r"""
|
||||
_value:
|
||||
description: CRC32 checksum.
|
||||
type: string
|
||||
"""
|
||||
|
||||
|
||||
def crc32s(value):
|
||||
|
||||
Reference in New Issue
Block a user