Skip to content
Snippets Groups Projects
Commit 2f961534 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Set bash as shell when executing mariadb recovery task"

parents ee903c02 6f64549e
No related branches found
No related tags found
No related merge requests found
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
- name: Comparing seqno value on all mariadb hosts - name: Comparing seqno value on all mariadb hosts
shell: "if [[ {{ hostvars[inventory_hostname]['seqno'] }} -lt {{ hostvars[item]['seqno'] }} ]]; then echo {{ hostvars[item]['seqno'] }}; fi" shell: "if [[ {{ hostvars[inventory_hostname]['seqno'] }} -lt {{ hostvars[item]['seqno'] }} ]]; then echo {{ hostvars[item]['seqno'] }}; fi"
args:
executable: /bin/bash
with_items: "{{ groups['mariadb'] }}" with_items: "{{ groups['mariadb'] }}"
changed_when: false changed_when: false
register: seqno_compare register: seqno_compare
......
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