Skip to content
Snippets Groups Projects
Verified Commit c10722bf authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

try another way to check if docker_mirror is not empty

parent c6ffbe0f
No related branches found
No related tags found
No related merge requests found
...@@ -104,6 +104,10 @@ ...@@ -104,6 +104,10 @@
- name: Configure firewall - name: Configure firewall
import_tasks: firewall.yml import_tasks: firewall.yml
- name: debug docker_mirror data
debug:
msg: Docker mirror is "{{ docker_mirror }}"
- name: Write docker registries.yaml - name: Write docker registries.yaml
tags: tags:
- k3s - k3s
...@@ -112,4 +116,4 @@ ...@@ -112,4 +116,4 @@
src: registries.yaml src: registries.yaml
dest: /etc/rancher/k3s/registries.yaml dest: /etc/rancher/k3s/registries.yaml
mode: '0740' mode: '0740'
when: docker_mirror != "{}" when: docker_mirror is not empty
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