Hi,

I have an inventory file 'inventory/localhost' and contains;
[localhost]
"{{MYSITE_NAME}}-local.com"    ansible_ssh_port=2222


Lets say 'MYSITE_NAME' is a variable defined in some file. I need to access 
this inside my inventory file. Please suggest some solution.

-- 
 =============================
DISCLAIMER: The information in this message is confidential and may be 
legally privileged. It is intended solely for the addressee. Access to this 
message by anyone else is unauthorized. If you are not the intended 
recipient, any disclosure, copying, or distribution of the message, or any 
action or omission taken by you in reliance on it, is prohibited and may be 
unlawful. Please immediately contact the sender if you have received this 
message in error. Further, this e-mail may contain viruses and all 
reasonable precaution to minimize the risk arising there from is taken by 
Tarams. Tarams is not liable for any damage sustained by you as a result of 
any virus in this e-mail. All applicable virus checks should be carried out 
by you before opening this e-mail or any attachment thereto.
Thank you - Tarams Software Technologies Pvt.Ltd.
=============================

-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/cee5bcee-2c51-41c2-879a-71b5d9be0c0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to