Skip to content

Commit

Permalink
Use osism.pulp.regio.digital as ansible galaxy source
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt committed Jul 1, 2023
1 parent 61e4639 commit 67ee477
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions files/src/templates/requirements.yml.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
---
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN

#
# Use our Pulp mirror as primary source and use Ansible Galaxy as
# fallback.
#
# 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 }}
Expand All @@ -9,7 +17,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 %}

Expand All @@ -18,16 +28,20 @@ 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
version: {{ ansible_collections[name] }}
{% 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 %}

0 comments on commit 67ee477

Please sign in to comment.