diff --git a/roles/installer/defaults/main.yml b/roles/installer/defaults/main.yml index d3068595..70289bc3 100644 --- a/roles/installer/defaults/main.yml +++ b/roles/installer/defaults/main.yml @@ -1,5 +1,6 @@ --- deployment_type: awx +deployment_type_shortname: awx kind: 'AWX' api_version: '{{ deployment_type }}.ansible.com/v1beta1' diff --git a/roles/installer/templates/configmaps/redirect-page.configmap.html.j2 b/roles/installer/templates/configmaps/redirect-page.configmap.html.j2 index 2038bcab..9e87cf82 100644 --- a/roles/installer/templates/configmaps/redirect-page.configmap.html.j2 +++ b/roles/installer/templates/configmaps/redirect-page.configmap.html.j2 @@ -66,7 +66,7 @@ data:
The API endpoints for this platform service will temporarily remain available at the URL for this service. Please use the Ansible Automation Platform API endpoints corresponding to this component in the future. - These can be found at {{ public_base_url }}/api/{{ deployment_type }}. + These can be found at {{ public_base_url }}/api/{{ deployment_type_shortname }}/.