lookup module fail to compute value of a template using regex_replace filter #26397
Labels
affects_2.3
This issue/PR affects Ansible v2.3
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
ISSUE TYPE
COMPONENT NAME
template
ANSIBLE VERSION
OS / ENVIRONMENT
N/A
SUMMARY
template action and template lookup give different results using regex_replace filter.
STEPS TO REPRODUCE
Playbook
template test.xml.j2
EXPECTED RESULTS
I expect to get same /tmp/test2.xml after the two tasks
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: