From 699c777e680655be12f53cabed626b28623f8160 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Mon, 12 Feb 2018 14:52:27 -0600 Subject: [PATCH] rolling update: fix undefined jewel_minor_update failure Variables set at the play level with ``vars`` do not carry over into the next play in the playbook. The var jewel_minor_update was set in a previous play but used in this one and was failing because it was not defined. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1544029 Signed-off-by: Andrew Schoen --- infrastructure-playbooks/rolling_update.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index ee83f9975..8565890da 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -335,6 +335,8 @@ - name: unset osd flags + vars: + - jewel_minor_update: False hosts: - "{{ mon_group_name|default('mons') }}"