summaryrefslogtreecommitdiffstats
path: root/roles/container_runtime/templates/registries.conf
blob: d379b2be086fa1ac0bc76ea3962a61aecb18e6d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# {{ ansible_managed }}
# This is a system-wide configuration file used to
# keep track of registries for various container backends.
# It adheres to YAML format and does not support recursive
# lists of registries.

# The default location for this configuration file is /etc/containers/registries.conf.

# The only valid categories are: 'registries', 'insecure_registries',
# and 'block_registries'.


#registries:
#  - registry.access.redhat.com

{% if l2_docker_additional_registries %}
registries:
{% for reg in l2_docker_additional_registries %}
  - {{ reg }}
{% endfor %}
{% endif %}

# If you need to access insecure registries, uncomment the section below
# and add the registries fully-qualified name. An insecure registry is one
# that does not have a valid SSL certificate or only does HTTP.
#insecure_registries:
#  -

{% if l2_docker_insecure_registries %}
insecure_registries:
{% for reg in l2_docker_insecure_registries %}
  - {{ reg }}
{% endfor %}
{% endif %}

# If you need to block pull access from a registry, uncomment the section below
# and add the registries fully-qualified name.
#block_registries:
# -

{% if l2_docker_blocked_registries %}
block_registries:
{% for reg in l2_docker_blocked_registries %}
  - {{ reg }}
{% endfor %}
{% endif %}