From: Andrew Schoen Date: Thu, 3 Nov 2016 19:30:01 +0000 (-0500) Subject: rolling update: fix restarts of radosgw X-Git-Tag: v2.0~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F1070%2Fhead;p=ceph-ansible.git rolling update: fix restarts of radosgw Signed-off-by: Andrew Schoen Resolves: rhbz#1391675 Signed-off-by: Andrew Schoen --- 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