fix(container_registries): these are optional, dont attempt to configure if non specified
!6
This commit is contained in:
@ -187,6 +187,7 @@
|
|||||||
- src: k3s-registries.yaml.j2
|
- src: k3s-registries.yaml.j2
|
||||||
dest: /etc/rancher/k3s/registries.yaml
|
dest: /etc/rancher/k3s/registries.yaml
|
||||||
notify: kubernetes_restart
|
notify: kubernetes_restart
|
||||||
|
when: "{{ (kubernetes_private_container_registry | default([])) | from_yaml | list | length > 0 }}"
|
||||||
|
|
||||||
|
|
||||||
# - name: Templates IPv6
|
# - name: Templates IPv6
|
||||||
|
|||||||
Reference in New Issue
Block a user