---
- hosts: localhost
  gather_facts: no
  vars:
    services_health_checks:
      - https://engine.vm.openconext.org/health
      - https://profile.vm.openconext.org/health
      - https://voot.vm.openconext.org/health
      - https://teams.vm.openconext.org/api/teams/health
      - https://pdp.vm.openconext.org/pdp/api/health
      - https://voot.vm.openconext.org/health
      - https://aa.vm.openconext.org/aa/api/health
      - https://authz.vm.openconext.org/health
      - https://authz-admin.vm.openconext.org/health
      - https://authz-playground.vm.openconext.org/health
      - https://manage.vm.openconext.org/manage/api/health
      - https://oidc.vm.openconext.org/health
  tasks:
    - uri: url={{ item }}
#      register: result
#      until: "'UP' in result.content"
      retries: 15
      delay: 10
      with_items: "{{ services_health_checks }}"

#    - uri: url={{ item }} return_content=yes
#      register: result
#      until: "'UP' in result.content"
#      retries: 5
#      delay: 10
#      with_items: "{{ services_health_checks }}"

---
- hosts: localhost
  gather_facts: no
  vars:
    services_health_checks:
      - https://engine.vm.openconext.org/health
      - https://profile.vm.openconext.org/health
      - https://voot.vm.openconext.org/health
      - https://teams.vm.openconext.org/api/teams/health
      - https://pdp.vm.openconext.org/pdp/api/health
      - https://voot.vm.openconext.org/health
      - https://aa.vm.openconext.org/aa/api/health
      - https://authz.vm.openconext.org/health
      - https://authz-admin.vm.openconext.org/health
      - https://authz-playground.vm.openconext.org/health
      - https://manage.vm.openconext.org/manage/api/health
  tasks:
    - uri: url={{ item }}
#      register: result
#      until: "'UP' in result.content"
      retries: 15
      delay: 10
      with_items: "{{ services_health_checks }}"

#    - uri: url={{ item }} return_content=yes
#      register: result
#      until: "'UP' in result.content"
#      retries: 5
#      delay: 10
#      with_items: "{{ services_health_checks }}"

Remove oidc from travis tests for now
Remove oidc from travis tests for now
