- name: "{{ testname }} - check if {{ project }} is deployed with searching for the hash"
  hosts: localhost
  serial: 1
  vars:
    url: "http://varnish.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
    expected_content: "LAGOON_GIT_SHA={{ expected_head }}"
  tasks:
  - include: ../../checks/check-url-content.yaml

- name: "{{ testname }} - check if {{ project }} is deployed with searching for branch name"
  hosts: localhost
  serial: 1
  vars:
    url: "http://varnish.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
    expected_content: "LAGOON_GIT_BRANCH={{ expected_branch }}"
  tasks:
  - include: ../../checks/check-url-content.yaml

- name: "{{ testname }} - check if {{ project }} is deployed with searching for the hash"
  hosts: localhost
  serial: 1
  vars:
    url: "http://nginx-php.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
    expected_content: "LAGOON_GIT_SHA={{ expected_head }}"
  tasks:
  - include: ../../checks/check-url-content.yaml

- name: "{{ testname }} - check if {{ project }} is deployed with searching for branch name"
  hosts: localhost
  serial: 1
  vars:
    url: "http://nginx-php.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
    expected_content: "LAGOON_GIT_BRANCH={{ expected_branch }}"
  tasks:
  - include: ../../checks/check-url-content.yaml
Revert "84 - varnish is the route in now"
Revert "84 - varnish is the route in now"

This reverts commit ab1c6efefb224936d9350cf2415a0cb18df51ff9.
