Ansible Filters: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:
|-
|-
| [[Ansible_Concepts#Variables|Variable]]-related filters ||  
| [[Ansible_Concepts#Variables|Variable]]-related filters ||  
                                                
<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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
|-
|-
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||
| [[Ansible_Concepts#Data_Types|Data type management]] filters ||

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