title |
---|
Variable files |
template.yml is a general variable file template.
There are also {service}/{deployment}_template.yml
files,
where
{service}
is eitherpackit
orstream
{deployment}
is one ofprod
,stg
ordev
You have to copy {service}/{deployment}_template.yml
to {service}/{deployment}.yml
depending on what service and environment you want to deploy to
and fill in missing values.
The {service}/{deployment}.yml
files are .gitignore
d so you can't
push them to the git repo by mistake.
The Ansible playbooks then include one of the variable files depending on the
value of SERVICE
(optional, defaults to packit
) and DEPLOYMENT
environment variables and processes all the templates with
variables defined in the file.