Spec-Zone.ru › Ansible

community.general.crc32 filter – Generate a CRC32 checksum

Note

This filter plugin is part of the community.general collection (version 12.6.1).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.general.

To use it in a playbook, specify: community.general.crc32.

New in community.general 5.4.0

  • Synopsis
  • Input
  • Examples
  • Return Value

Synopsis

  • Checksum a string using CRC32 algorithm and return its hexadecimal representation.

Input

This describes the input of the filter, the value before | community.general.crc32.

Parameter

Comments

Input

string / required

The string to checksum.

Examples

- name: Checksum a test string
  ansible.builtin.debug:
    msg: "{{ 'test' | community.general.crc32 }}"

Return Value

Key

Description

Return value

string

CRC32 checksum.

Returned: success

Authors

  • Julien Riou

Collection links

  • Issue Tracker
  • Repository (Sources)
  • Ask for help
  • Submit a bug report
  • Request a feature
  • Communication

© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/projects/ansible/latest/collections/community/general/crc32_filter.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API