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

This commit is contained in:
Zuul 2017-12-13 17:58:02 +00:00 committed by Gerrit Code Review
commit 2f96153470
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@
- name: Comparing seqno value on all mariadb hosts
shell: "if [[ {{ hostvars[inventory_hostname]['seqno'] }} -lt {{ hostvars[item]['seqno'] }} ]]; then echo {{ hostvars[item]['seqno'] }}; fi"
args:
executable: /bin/bash
with_items: "{{ groups['mariadb'] }}"
changed_when: false
register: seqno_compare