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:
Alexei Znamensky 2025-01-07 18:33:28 +13:00 committed by GitHub
commit 3af793c2c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 696 additions and 699 deletions

View file

@ -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):