MikeTaylor / firefly

Making FOLIO modularity work in practice
Apache License 2.0
0 stars 1 forks source link

add-app-to-platform should support a variables-file like Ansible's #5

Open MikeTaylor opened 2 years ago

MikeTaylor commented 2 years ago

@wafschneider will send me an example for how this file looks in Ansible, and I will add support for it.

MikeTaylor commented 2 years ago

Here is a sample Ansible variables file, supplied by @wafschneider. sample.yml.txt

And here is the equivalent JSON file, made using https://onlineyamltools.com/convert-yaml-to-json . sample.json.txt

MikeTaylor commented 2 years ago

The {{ stuff }} sequences are templates that are interpreted by Ansible using Jinja2 expressions to bring in values from Ansible Vault. Rather than try to reimplement all that machinery, we will do the template substitution ahead of time, so that add-app-to-platform can use the values as-is.

MikeTaylor commented 2 years ago

I have questions about the Ansible variable-file format.