I found a solution. I needed to set the jinja2 Native to true. Feel free to look at this solution. Thank you.
GreatBigBear
(Chris Glenn)
6
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Save value of json_query as real integer (without quotes) rather than as string | 4 | 81 | July 23, 2019 | |
| Simple Math with String to Int | 3 | 112 | March 3, 2020 | |
| Integer data type unable to retain his type when passed into a variable | 0 | 115 | January 31, 2025 | |
| yaml structures passed to roles that to_json cannot use integers | 5 | 31 | July 11, 2015 | |
| Jinga2 Integer substitution in YAML task file | 3 | 34 | May 13, 2014 |