diff --git a/infrastructure-playbooks/rolling_update.yml b/infrastructure-playbooks/rolling_update.yml index e4d1e2366..30682f930 100644 --- a/infrastructure-playbooks/rolling_update.yml +++ b/infrastructure-playbooks/rolling_update.yml @@ -765,15 +765,18 @@ # failed_when: false is here so that if we upgrade # from a version of ceph that does not have iscsi gws # then this task will not fail - - name: stop rbd-target-gw + - name: stop ceph iscsi services systemd: - name: rbd-target-gw + name: '{{ item }}' state: stopped enabled: no masked: yes failed_when: false - when: - - not containerized_deployment + with_items: + - tcmu-runner + - rbd-target-api + - rbd-target-gw + when: not containerized_deployment - import_role: name: ceph-defaults @@ -792,14 +795,17 @@ - import_role: name: ceph-iscsi-gw - - name: start rbd-target-gw + - name: start ceph iscsi services systemd: - name: rbd-target-gw + name: '{{ item }}' state: started enabled: yes masked: no - when: - - not containerized_deployment + with_items: + - tcmu-runner + - rbd-target-api + - rbd-target-gw + when: not containerized_deployment - name: upgrade ceph client node