message: no need for host injecting
diff: serial: 1
  vars:
  url: "http://nginx.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
  - host: "nginx.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
  expected_redirect_location: "https://nginx.{{ project | regex_replace('_', '-') }}.{{ branch | regex_replace('/', '-') }}.{{ lookup('env','OPENSHIFT_ROUTE_SUFFIX') }}"
  tasks:
  - - include: ../../checks/check-url-redirect-host.yaml
  + - include: ../../checks/check-url-redirect.yaml
  - name: "{{ testname }} - SECOND TEST: check if auto generated domain allows insecure traffic"
  hosts: localhost
  