I have this playbook which changes the xml file on a remote server.
This playbook needs to read a value from another yaml file.

For example source yaml file:
main.yml
cluster: onecluster
product: someproduct
....


playbook.yml
-replace: dest=/a/b/cd.xml regexp=something replace=<<< value of *cluster* 
from main.yml >>>

The  playbook.yml changes the  value as per the value from main.yml.
I cannot not hardcode that in the playbook.yml, all the values should come 
from central place(main.yml)

Thank you in advance.




-- 
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/3dde3d79-10b2-4623-9a7c-8634e1c91b32%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to