Skip to content
Snippets Groups Projects
Commit 236e0cb5 authored by ale's avatar ale
Browse files

Prevent errors on non-leader garage nodes

parent 52fed524
No related branches found
No related tags found
1 merge request!199Draft: Add s3-storage role
Pipeline #42409 passed
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
- stat: - stat:
path: /var/lib/garage/.bootstrapped path: /var/lib/garage/.bootstrapped
register: garage_bootstrapped register: garage_bootstrapped
when: garage_is_leader
- shell: "in-container s3-storage-http /garage node connect '{{ item }}'" - shell: "in-container s3-storage-http /garage node connect '{{ item }}'"
loop: "{{ services['s3-storage'].hosts | map('extract', hostvars) | map(attribute='garage_node_id') }}" loop: "{{ services['s3-storage'].hosts | map('extract', hostvars) | map(attribute='garage_node_id') }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment