Hi,
Is there a way to arrange all environment specific files ? I have some property files and certificates specific to production and wonder if ansible can identify the same files out of production folders when running through the scripts.
ssk
Hi,
Is there a way to arrange all environment specific files ? I have some property files and certificates specific to production and wonder if ansible can identify the same files out of production folders when running through the scripts.
ssk
If you have an Ansible variable which contains the environment you could then use something like {{environment}} anywhere you need to refer to environment specific files.
don't use environment as a variable, as it is an existing directive
and can cause confusion ( i use myenv)