Skip to content

Commit

Permalink
Merge pull request #208 from matteyeux/main
Browse files Browse the repository at this point in the history
Create registries.yaml if k3s_registries.mirrors or k3s_registries.configs are not None
  • Loading branch information
xanmanning authored Jun 17, 2023
2 parents 41b938c + cc64737 commit 37cca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/state_installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- name: Ensure containerd registries
ansible.builtin.include_tasks: ensure_containerd_registries.yml
when:
- k3s_registries is defined
- (k3s_registries.mirrors | default(None)) != None or (k3s_registries.configs | default(None) != None)
- ('rootless' not in k3s_runtime_config or not k3s_runtime_config.rootless)

- name: Run cluster pre-checks
Expand Down

0 comments on commit 37cca2e

Please sign in to comment.