[Pulp-dev] switch from Python to JSON settngs file

Dennis Kliban dkliban at redhat.com
Wed Feb 19 13:55:43 UTC 2020

ansible-pulp currently tries to generate a Python settings file.from
settings provided by the user in the playbook[0]. However, the generated
Python code is not always syntactically correct[1].

The settings file is generated using a Jinja template. Jinja provides a
to_json that can be used to generate the settings as JSON. I propose that
we change the behavior of ansible-pulp to generate settings.json instead of

Are there any objections or other ideas?

[1] https://pulp.plan.io/issues/5687
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-dev/attachments/20200219/7858a1b1/attachment.htm>

More information about the Pulp-dev mailing list