Skip to content

Add license check and healthcheck to post-configure

Nick Westbury requested to merge elastic-license-check into master
  • 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 if gitlab_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.

Merge request reports

Loading