[ansible-project] Re: Nested variables and Regex...

2017-07-10 Thread rene via Ansible Project
Thanks for helping me out. :) Sadly it looks like that the construct itself is the issue and not the regex. After I resolved the "recursive loop detected in template" issue, I ran into another one. I have to dig into that one first to resolve this entirely. Nevertheless thanks for your help.

[ansible-project] Re: Nested variables and Regex...

2017-07-07 Thread Daniel JD
Here you go: elasticsearchclustername: "es{{ (server_hostname + software_version) | regex_replace('[ .,;-]+', '') }}" Am Freitag, 7. Juli 2017 12:01:12 UTC+2 schrieb re...@charbonneau.de: > > Dear community, > > sorry that I have to bother you but I don't get it. > > My goal is to create a

[ansible-project] Re: Nested variables and Regex...

2017-07-07 Thread Daniel JD
Change it to regex_replace(r'[\s,\.;-_]+') You can test what it does on debuggex.com Am Freitag, 7. Juli 2017 12:01:12 UTC+2 schrieb re...@charbonneau.de: > > Dear community, > > sorry that I have to bother you but I don't get it. > > My goal is to create a nested variables which consists of a