community / community.general / 3.8.10 / filter / hashids_decode Decodes a sequence of numbers from a YouTube-like hash | "added in version" 3.0.0 of community.general" Authors: Andrew Pantuso (@Ajpantuso)community.general.hashids_decode (3.8.10) — filter
Install with ansible-galaxy collection install community.general:==3.8.10
collections: - name: community.general version: 3.8.10
Decodes a sequence of numbers from a YouTube-like hash.
- name: Convert hash to list of integers ansible.builtin.debug: msg: "{{ 'o2fXhV' | community.general.hashids_decode }}"
salt: default: excel description: - String to use as salt when hashing. type: str _input: description: A YouTube-like hash. required: true type: string alphabet: description: - String of 16 or more unique characters to produce a hash. elements: str type: list min_length: description: - Minimum length of hash produced. type: integer
_value: description: A list of integers. elements: integer type: list