sap / sap.sap_operations / 1.25.0 / filter / me_enr_from_alias Return the ENR from alias. | "added in version" 1.10.0 of sap.sap_operations" Authors: Kirill Satarin (@kksat)sap.sap_operations.me_enr_from_alias (1.25.0) — filter
Install with ansible-galaxy collection install sap.sap_operations:==1.25.0
collections: - name: sap.sap_operations version: 1.25.0
Return the ENR from alias.
If alias is not correct None will be returned.
- name: Example 'me_enr_from_alias' filter, this assertion is True ansible.builtin.assert: that: - "{{ ( 'sapcar' | sap.sap_operations.me_enr_from_alias ) is defined }}" - "{{ 'sapcar-7.22' | sap.sap_operations.me_enr_from_alias == '73555000100200014919' }}"
value: description: Alias to convert. required: true type: str
data: description: ENR for provided alias or None if alias is not correct. sample: '73555000100200014919' type: string