Add CephExternal role for ceph-ansible
[apex-tripleo-heat-templates.git] / docker / services / iscsid.yaml
index f6b348c..c34a59d 100644 (file)
@@ -109,7 +109,7 @@ outputs:
         - name: Stop and disable iscsid service
           tags: step2
           service: name=iscsid state=stopped enabled=no
-          when: stat_iscsid_service.stat.exists
+          when: (stat_iscsid_service.stat|default('')).exists|default(false)
         - name: stat /lib/systemd/system/iscsid.socket
           tags: step2
           stat: path=/lib/systemd/system/iscsid.socket
@@ -117,5 +117,4 @@ outputs:
         - name: Stop and disable iscsid.socket service
           tags: step2
           service: name=iscsid.socket state=stopped enabled=no
-          when: stat_iscsid_socket.stat.exists
-      metadata_settings: {}
+          when: (stat_iscsid_socket.stat|default('')).exists|default(false)