Skip links

Tag: dns

Can’t use jinja2 in deployment files

We recently saw a problem where a user was having trouble doing an install via ./metroae install_everything. The problem: metroae was completing without doing anything. In the output, every component type displayed a message like this: [WARNING]: Could not match supplied host pattern, ignoring: vstats PLAY [vstats] ****************************************************************** skipping: no hosts

{{ dns_domain }} in build_vars conversion and clearing corrupted inventory

Jinja2 substitution in deployment files is not currently supported.  Many build_vars files included “{{ dns_domain }}” tags.  In the v3.0.0 convert_build_vars_to_deployment script, it carried these substitutions into the deployment files and thus corrupted them.  This is fixed in v3.0.1 to perform the substitution beforehand. If the inventory is corrupted, the

Bitnami