Aric Day from my team covered a lot of this in a session back in April the replay can be found here
Auto Deployment and automation of the gateway
Automate the build and configuration of the CA API Gateway. In this technical session, CA will demonstrate a variety of automation techniques to ensure an immutable API server build and system configuration using common CI/CD tools, including Chef, Ansible and Docker.
https://catechnologies.webex.com/catechnologies/lsr.php?RCID=cee951cd2d0d4f47ab1c55c05feefd1b
The Links to Aric’s content can be found here
Link to Deck:
https://github.com/aricday/mpls_user_group/blob/master/gateway-automation.pdf
Link to Ansible resources:
https://github.com/aricday/mpls_user_group/tree/master/mag_mas_ansible
Link to Docker resources:
https://github.com/aricday/mpls_user_group/tree/master/mpls_ms_demo
If you need any help please reach out.
thanks