f5devcentral / ansible-role-f5_atc_deploy_declaration

Ansible role used to deploy declaratives to F5 Automated Tool Chain services: AS3, DO, and TS
Apache License 2.0
7 stars 11 forks source link

Support for jinja template #13

Closed xbill42 closed 4 years ago

xbill42 commented 4 years ago

ISSUE TYPE

For my understanding it looks like the POST of an AS3 does not work with jinja templates.

focrensh commented 4 years ago

Generation of the payload could be done with JINJA2 in a task before being called by atc_deploy.

focrensh commented 4 years ago

This was added in recent releases: atc_declaration: "{{ lookup('template', 'decl.json') }}"