*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 970fdbd3 authored by Weber, Thomas's avatar Weber, Thomas
Browse files

Merge branch 'fix#registry-on-all-nodes' into 'main'

add registry to all nodes

See merge request ADLS/infrastructure/adls.osrancher!1
parents 1423ba9d 13314878
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -11,7 +11,9 @@
- include_tasks: templates.yml
when: "state != 'absent' and 'master' in group_names"
- include_tasks: config_rke2.yml
- block:
- include_tasks: regisries.yml
- include_tasks: config_rke2.yml
when: state != 'absent'
- include_tasks: kubeconfig.yml
......
- name: copy registry_mirrors file
template:
src: 'registry_mirrors.j2'
dest: '/etc/rancher/rke2/registries.yaml'
notify:
- restart rke2
when: registry_mirrors is defined and registry_mirrors | length > 0
\ No newline at end of file
......@@ -16,12 +16,4 @@
state: absent
with_dict: "{{ default_manifests | combine(manifests) }}"
when: not item.value.enabled
ignore_errors: yes
- name: copy registry_mirrors file
template:
src: 'registry_mirrors.j2'
dest: '/etc/rancher/rke2/registries.yaml'
notify:
- restart rke2
when: registry_mirrors is defined and registry_mirrors | length > 0
\ No newline at end of file
ignore_errors: yes
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment