These are the steps I run to turn preprod back on and verify. Once oidc is up, you can run the node.js, springboot, and ui playbooks in parallel (I've fixed the overwriting problem with generating .env files).
ap-preprod azure-start.yml
ap-preprod services-nodejs.yml -l oidc
ap-preprod services-nodejs.yml -l oidc -t init_pm2
ap-preprod services-nodejs.yml -l non_oidc
ap-preprod services-nodejs.yml -l non_oidc -t init_pm2
ap-preprod services-spring.yml
ap-preprod ui.yml
ap-preprod marsnet-status.yml
Sometimes Azure is super slow with turning the vm's back on and you will get a failure with the playbook. Just re-run the azure-start.yml
playbook until everything is up and it completes without error.
I don't believe this should be necessary, but for some reason Node.js services have not been turning back on without running this additional step.
Run 3 playbooks in parallel after oidc is up.
# terminal 1
ap-preprod services-nodejs.yml -l non_oidc
ap-preprod services-nodejs.yml -l non_oidc -t init_pm2
# terminal 2
ap-preprod services-spring.yml2
# terminal 3
ap-preprod ui.yml2