Loading
Commits on Source 9
-
Rafael Guterres Jeffman authored
In ansible-core 2.19, when clauses (when, failed_when, etc) do not convert values to bool automatically, also, templating with "|bool" does not work too, so an actual value comparison is required. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Rafael Guterres Jeffman authored
In ansible-core, templates and expressions must use trusted sources, such as playbooks or roles, and module results are considered untrusted sources. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Rafael Guterres Jeffman authored
As ansible-core 2.19 'upper' and 'lower' filters make lists into strings and these strings are not interpreted as lists when running the plugins, it is needed to use 'map(<filter>)' to apply the filter to all entries of a list. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Rafael Guterres Jeffman authored
In ansible-core 2.19 there's no automatic coercion from None or empty strings to the boolean value "false", so we need to compare the result of the filter 'regex_search' to 'None' and the empty string to evaluate if any match occurred. In fixing this issue, it was found that the tests were incorrectly evaluating the results, and the comparisons were fixed. Signed-off-by:Rafael Guterres Jeffman <rjeffman@redhat.com>
-
Thomas Woerner authored
Prepare playbooks for ansible core 2.19
-
Thomas Woerner authored
ansible-core 2.19 is not automatically converting empty and non empty lists to bool values. Conditionals must have a boolean result. The solution is to evaluate the length of the lists instead.
-
Rafael Guterres Jeffman authored
test_backup.yml: Fix evaluation of 'list = False' and 'list = True'
-
Thomas Woerner authored
ansible-core 2.19 is not automatically converting empty and non empty lists to bool values. Conditionals must have a boolean result. The solution is to evaluate the length of the lists instead.
-
Rafael Guterres Jeffman authored
test_backup.yml: Fix evaluation of 'list = False' and 'list = True' v2