Ansible
item.key does not expand in default filter
Archives
Ansible Project
ansible-project
Brian_Coca
(Brian Coca)
March 22, 2016, 10:08pm
1
moustaches do not stack
home=“{{ item.value.home | default(”/home/" + item.key) }}"
Related topics
Topic
Replies
Views
Activity
Interpolation in Jinja2 default() values
Ansible Project
2
14
September 8, 2015
How can I set a default that includes information from a variable?
Ansible Project
ubuntu
4
32
September 7, 2017
with_items and default filter with empty list not working in ansible 1.8.1
Ansible Project
1
8
November 30, 2014
Default variables in with_items dict
Ansible Project
3
6
March 26, 2014
Combining with_items with "when:".
Ansible Project
ansible-project
5
0
May 17, 2013