python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to remove the extra curly bracket while using jinja2 if condition in Ansible
I am creating a new JSON list using the jinja2 template and a json(base.json) file. The output is having extra curly brackets while iterating the json file which doesnot meet the condition to have a h...
Vinny
Votes: 0
Answers: 1
Ansible breaking templates with quotes around variables when more than one on same line
I'm using an Ansible template to include variables in a SQL import file, and everything was working fine until lately where ansible is now parsing the quotes around variables in the template and elimi...
oucil
Votes: 0
Answers: 2
Map function over values of dict in ansible jinja template
I want to convert the values of a dictionary into strings and lowercase them, then map over the dict to join each item pair with an =, and then join the items with a ,.
Example input:
{"A": ...
2rs2ts
Votes: 0
Answers: 1