From 47c829ef54fe901e7166e21976ddf0ad2208c6ec Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sat, 1 Jul 2023 19:41:20 +0200 Subject: [PATCH] Use osism.pulp.regio.digital as ansible galaxy source Signed-off-by: Christian Berendt --- files/src/templates/requirements.yml.j2 | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/files/src/templates/requirements.yml.j2 b/files/src/templates/requirements.yml.j2 index b63c52c..d23c957 100644 --- a/files/src/templates/requirements.yml.j2 +++ b/files/src/templates/requirements.yml.j2 @@ -1,6 +1,11 @@ ---- # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN - +# +# Mirrored content on Pulp can be viewed and extended in the following +# repository: https://github.com/osism/sbom/tree/main/mirrors/pulp +# +# The used account is only assigned viewer rights and we use this to +# provide access not completely public. +--- roles: {% for name in ansible_roles.keys() %} - name: {{ name }} @@ -9,7 +14,9 @@ roles: type: git src: git+https://github.com/{{ ansible_role_names[name] }}.git {% else %} - source: https://galaxy.ansible.com + source: http://osism.pulp.regio.digital:8080/pulp_ansible/galaxy/mirror/ + username: mirror + password: Ahphee6a {% endif %} {% endfor %} @@ -18,8 +25,10 @@ collections: {% if ansible_collection_names[name] %} {% if is_release == "true" and "osism" in name %} - name: {{ name }} - source: https://galaxy.ansible.com + source: http://osism.pulp.regio.digital:8080/pulp_ansible/galaxy/mirror/ version: {{ ansible_collections[name] }} + username: mirror + password: Ahphee6a {% else %} - name: https://github.com/{{ ansible_collection_names[name] }}.git type: git @@ -27,7 +36,9 @@ collections: {% endif %} {% else %} - name: {{ name }} - source: https://galaxy.ansible.com + source: http://osism.pulp.regio.digital:8080/pulp_ansible/galaxy/mirror/ version: {{ ansible_collections[name] }} + username: mirror + password: Ahphee6a {% endif %} {% endfor %}