Joined August 2013
·
Posted to
iterating a hash in an ansible task
over 1 year
ago
Hi,
Nice, I am looking for the same thing.
However, I am not familiar with the ansible.cfg file and when I look at the doc, it does not help a lot.
When I just insert this line "filterplugins=./custom/filterplugins" into my ansible.cfg, it does not work. I have an error about no headers...
What does your all ansible.cfg file contain?
Thanks
Achievements
38 Karma
0 Total ProTip Views
Charity
Fork and commit to someone's open source project in need
Forked
Have a project valued enough to be forked by someone else
Python 3
Have at least three original repos where Python is the dominant language
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
withdict is useful to iterate through keys, values but what if I want to store in a variable only the list of the values?
mydict:
ka: "a"
kb: "b"
And I would like to create a "my_values" variable that will be a list of the values only: ["a", "b"]