Skip to content

Commit

Permalink
[hotfix] We want site_has_own_route to be a Boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominique Quatravaux committed Nov 15, 2021
1 parent 9bb62ca commit 91ddd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansible/roles/wordpress-instance/vars/routes-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ route_is_root_url: '{{ lookup("wpveritas", "url") is match("https?://[^/]+$") }}
route_hostname: '{{ lookup("wpveritas", "url") | hostname_of_url }}'
route_name: '{{ lookup("wpveritas", "url") | route_name(route_wp_veritas_env) }}'
site_exists: '{{ not lookup("wpveritas", "isDeleted") }}'
site_has_own_route: >
site_has_own_route: >-
{{ route_wp_veritas_env.startswith("unm-")
or route_wp_veritas_env.startswith("subdomains")
or (openshift_namespace == "wwp-test" and route_is_root_url) }}

0 comments on commit 91ddd2d

Please sign in to comment.