Add license check and healthcheck to post-configure
- Add
Wait for GitLab to be available
task- A few times when running the setup the configure playbook would fail because GitLab wasn't ready. Adding this just waits for the readiness endpoint to return a success before running anything else.
- Check license variable before running elastic steps
- When running for geo it states that the license should only be installed on the primary site. When running ansible against the secondary site without having set
gitlab_license_file
the elastic steps would fail. This is because in the post-configure playbook we check ifgitlab_license_file
is set before running the license tasks, but in elastic we run it anyway making the first check pointless. If the elastic tasks are reliant on there being a license then we can't run them.
- When running for geo it states that the license should only be installed on the primary site. When running ansible against the secondary site without having set