Ansible Filters: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 16: Line 16:
|-
|-
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||
<span id='type_debug'></span><code>[[Ansible Filter type_debug|type_debug]]</code>
<span id='type_debug'></span>[[Ansible Filter type_debug|type_debug]]<br>
<span id='dict2items'></span><code>[[Ansible Filter dict2items|dict2items]]</code>
<span id='dict2items'></span>[[Ansible Filter dict2items|dict2items]]<br>
<span id='items2dict'></span><code>[[Ansible Filter items2dict|items2dict]]</code>
<span id='items2dict'></span>[[Ansible Filter items2dict|items2dict]]<br>
|-
|-
| Miscellaneous ||
| Miscellaneous ||

Revision as of 19:50, 4 July 2021

External

Internal

Overview

Ansible file content can be manipulated with filters.

Ansible Filters

Category Filters
Variable-related filters

default
mandatory

Data type management filters

type_debug
dict2items
items2dict

Miscellaneous

ternary