Hi,
How about having three files in vars directory (eg. pvs_vars.yml,
stage_vars.yml, prod_vars.yml) with the same variable in it (ldapserver) and
using include_vars module this way:
- include_vars: "{{ env }}_vars.yml"
More info:
http://docs.ansible.com/ansible/include_vars_module.html
Cheers,
Marko
CONFIDENTIALITY NOTICE: This message is the property of International Game
Technology PLC and/or its subsidiaries and may contain proprietary,
confidential or trade secret information. This message is intended solely for
the use of the addressee. If you are not the intended recipient and have
received this message in error, please delete this message from your system.
Any unauthorized reading, distribution, copying, or other use of this message
or its attachments is strictly prohibited.
--
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/SN1PR01MB195008222C1659CFA24D28A5EB5D0%40SN1PR01MB1950.prod.exchangelabs.com.
For more options, visit https://groups.google.com/d/optout.