Ansible Filters: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 15: Line 15:
<span id='default'></span>[[Ansible Filter default|default]]<br>
<span id='default'></span>[[Ansible Filter default|default]]<br>
<span id='mandatory'></span>[[Ansible Filter mandatory|mandatory]]<br>
<span id='mandatory'></span>[[Ansible Filter mandatory|mandatory]]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
|-
|-
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||
<br>
<span id='type_debug'></span>[[Ansible Filter type_debug|type_debug]]<br>
<span id='type_debug'></span>[[Ansible Filter type_debug|type_debug]]<br>
<span id='dict2items'></span>[[Ansible Filter dict2items|dict2items]]<br>
<span id='dict2items'></span>[[Ansible Filter dict2items|dict2items]]<br>
<span id='items2dict'></span>[[Ansible Filter items2dict|items2dict]]<br>
<span id='items2dict'></span>[[Ansible Filter items2dict|items2dict]]<br>
<span id='casting'></span>[[Ansible Filter Casting|Casting]]
<span id='casting'></span>[[Ansible Filter Casting|Casting]]
<br>
|-
|-
| Miscellaneous ||
| Miscellaneous ||
<br>
<span id='ternary'></span>[[Ansible Filter ternary|ternary]]<br>
<span id='ternary'></span>[[Ansible Filter ternary|ternary]]<br>
<br>
|-
|-
|}
|}

Revision as of 20:05, 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
Casting

Miscellaneous

ternary