From 8262ce5e40695ae26eb8fa1530e67fdf692df7d9 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Thu, 3 Nov 2016 14:30:01 -0500 Subject: [PATCH] rolling update: fix restarts of radosgw Signed-off-by: Andrew Schoen Resolves: rhbz#1391675 Signed-off-by: Andrew Schoen --- infrastructure-playbooks/rolling_update.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index 0c232abe9..e652a06f6 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -287,10 +287,10 @@ service: name: radosgw state: restarted - when: ansible_os_family != 'RedHat' + when: is_sysvinit.stat.exists == True - - name: restart rados gateway server(s) + - name: restart ceph rgws with upstart service: name: ceph-radosgw state: restarted - when: ansible_os_family != 'RedHat' + when: is_upstart.stat.exists == True