mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 15:11:23 -07:00
plugins (become, callback, filter): style adjustments (#9535)
* plugins (become, callback, filter, inventory): style adjustments * remove inventory plugins from PR * adjustments from review * typo
This commit is contained in:
parent
8cef0ee551
commit
3af793c2c1
22 changed files with 696 additions and 699 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue