Closed Dannyb48 closed 3 years ago
I will look at this one
The issue arises when we are trying to recursively replace the variables in the variable file, and the value to be replaced is a list instead of a string e.g. below the devices is resolved as a list [/dev/vdc] , string.replace operation does not like the replacement value to be a list. A string is expected
devices:
- /dev/vdc
disk_wipe_disks: "{{ devices }}"
@rujutashinde Good Catch! Yeah so I assume that utility should probably take into account check whether the type is, str, list, and dicts
Jira ticket CCITCARBON-349 has been created for this issue. Url : https://projects.engineering.redhat.com/browse/CCITCARBON-349
As of 1.2.1 whenever we run the following command:
We see the following error:
In order to work around this we need to rollback and pin teflo to 1.2.0. I think this has to do with the recent changes for PR #76