diff --git a/roles/ee_builder/templates/ansible.cfg.j2 b/roles/ee_builder/templates/ansible.cfg.j2 index 8e74d31..67ad8c2 100644 --- a/roles/ee_builder/templates/ansible.cfg.j2 +++ b/roles/ee_builder/templates/ansible.cfg.j2 @@ -3,17 +3,17 @@ server_list = automation_hub_pub,automation_hub_cert,automation_hub_validated,au ignore_certs = true [galaxy_server.automation_hub_cert] -url=https://{{ ee_ah_host }}{% if ee_aap_version == 2.5 %}/pulp_ansible/galaxy/rh-certified/{% else %}/api/galaxy/content/rh-certified/{% endif %} +url=https://{{ ee_ah_host }}{% if ee_aap_version >= 2.5 %}/pulp_ansible/galaxy/rh-certified/{% else %}/api/galaxy/content/rh-certified/{% endif %} token={{ ee_ah_token }} [galaxy_server.automation_hub_pub] -url=https://{{ ee_ah_host }}{% if ee_aap_version == 2.5 %}/pulp_ansible/galaxy/published/{% else %}/api/galaxy/content/published/{% endif %} +url=https://{{ ee_ah_host }}{% if ee_aap_version >= 2.5 %}/pulp_ansible/galaxy/published/{% else %}/api/galaxy/content/published/{% endif %} token={{ ee_ah_token }} [galaxy_server.automation_hub_comm] -url=https://{{ ee_ah_host }}{% if ee_aap_version == 2.5 %}/pulp_ansible/galaxy/community/{% else %}/api/galaxy/content/community/{% endif %} +url=https://{{ ee_ah_host }}{% if ee_aap_version >= 2.5 %}/pulp_ansible/galaxy/community/{% else %}/api/galaxy/content/community/{% endif %} token={{ ee_ah_token }} [galaxy_server.automation_hub_validated] -url=https://{{ ee_ah_host }}{% if ee_aap_version == 2.5 %}/pulp_ansible/galaxy/validated/{% else %}/api/galaxy/content/validated/{% endif %} +url=https://{{ ee_ah_host }}{% if ee_aap_version >= 2.5 %}/pulp_ansible/galaxy/validated/{% else %}/api/galaxy/content/validated/{% endif %} token={{ ee_ah_token }}