diff options
Diffstat (limited to '_support/terraform/roles/gitlab/handlers/main.yml')
-rw-r--r-- | _support/terraform/roles/gitlab/handlers/main.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/_support/terraform/roles/gitlab/handlers/main.yml b/_support/terraform/roles/gitlab/handlers/main.yml new file mode 100644 index 000000000..0c2b34ec2 --- /dev/null +++ b/_support/terraform/roles/gitlab/handlers/main.yml @@ -0,0 +1,18 @@ +- name: wait gitlab + uri: + url: "http://{{ groups.gitlabs[0] }}" + register: result + until: result.status == 200 + retries: 60 + delay: 5 + changed_when: false + +- name: verify gitaly configuration + command: + cmd: gitlab-rake gitlab:gitaly:check + +- name: verify gitlab-shell + command: + cmd: /opt/gitlab/embedded/service/gitlab-shell/bin/check -config /opt/gitlab/embedded/service/gitlab-shell/config.yml + delegate_to: '{{ item }}' + with_items: '{{ groups.gitalies }}' |