I'm trying to create a template which contains a URL and must always have a 
/ on the end. So if jenkins_master_url is 'https://xyz.com' ansible must 
add a /

If someone could help me with the regex_replace I'd be most grateful:

<buildServerUrl>{{ jenkins_master_url|regex_replace('??') 
}}</buildServerUrl>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b584d464-7f0b-4741-b99a-a33ee8c90735%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to