Hi,

I have two register variable in a play and want to replace one with another 
in a play. 
_______________

 - name: Editing  the file 

      replace:

      dest=/some/path

      regexp=^"{{ result.stdout }}."

      replace="{{ result2.stdout }}."

      backup=yes

____________


I want to replace occurrences of {{result.stdout }} with {{result2.stdout}} 
in a file. How can I do that ? 

-- 
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/d61ad0a6-2b00-4e13-bdc9-5864ab5d82ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to