Use /bin/bash as executable in a task of the mariadb recovery play

Change-Id: I5e5aaab4fd1ef39de1b1e6fcf5b87ba8b41ba7eb
Closes-bug: 1729603
(cherry picked from commit e132cebc6b)
This commit is contained in:
Christian Berendt 2017-11-02 14:08:01 +01:00 committed by Eduardo Gonzalez
parent f9f5161766
commit 34446f67e3
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