Some playbooks exhibiting advanced features of Ansible
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicolas Massé c7f690c669 combine example 5 years ago
Jinja-Template-Iterate-over-Inventory add example around inventory variables 7 years ago
group-vars-order group_vars files are sorted and then read 7 years ago
load-vars new examples 7 years ago
using-facts Using facts 8 years ago
value-from-template defining values from a template 8 years ago
variables-in-templates new examples 7 years ago
vars-and-implicit-localhost inventory vars and implicit localhost 7 years ago
.gitignore initial commit 8 years ago
README.md add a readme 8 years ago
ansible.cfg new examples 7 years ago
combine.yaml combine example 5 years ago
jinja-multiline-variable.yaml new example 7 years ago
select-filter-and-search-test.yaml initial commit 8 years ago
selectattr-filter.yaml new examples 7 years ago
set-theory-filters.yaml new examples 7 years ago
variable-order.yaml initial commit 8 years ago
variable-scope.yaml variables 8 years ago
variables-and-fact.yaml variables 8 years ago
when-quotes.yaml new example 7 years ago

README.md

Advanced features/aspects of Ansible

This repository is a collection of playbooks showing advanced features or aspects of Ansible.

Current examples

Variable evaluation order: shows that Jinja placeholders in the variable value are evaluated when used and not when defined.

Select filter and search test: shows how to combine the select filter of Jinja with the match/search test of Ansible to filter a list.