- name: test playbookOutput will be:
hosts: 127.0.0.1
connection: local
gather_facts: no
tasks:
- debug: msg="{{ 'ansible'|replace('a', 'b') }}"
"bnsible"But with this:
"{{'ansible'|regex_replace('a', 'b')}}"
-- With kind regards, Andrew Pashkin. cell phone - +7 (985) 898 57 59 Skype - waves_in_fluids e-mail - andrew....@gmx.co.uk
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAJQqANd1hJbvfE%3DOr-YbeXztMpsgoLKsioxAfw2TYrNBcFm14w%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2BnsWgwCXpE1aiRUe54hw7b84cc7Qc6CV5GtUhK3AXMQK5XHtw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
-- With kind regards, Andrew Pashkin. cell phone - +7 (985) 898 57 59