From 83ed45babf62990127b62529901d8f04d6792446 Mon Sep 17 00:00:00 2001 From: Jiri Stransky Date: Thu, 29 Jun 2017 12:07:58 +0200 Subject: Add missing tags in iscsid upgrade_tasks The stat resources weren't executed in step2, and Ansible failed on them being undefined. Change-Id: I93621dd80d97be597eff6b8913ae9d7b2810f837 Closes-Bug: #1701221 --- docker/services/iscsid.yaml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker/services/iscsid.yaml') diff --git a/docker/services/iscsid.yaml b/docker/services/iscsid.yaml index 53f5aff2..c782271b 100644 --- a/docker/services/iscsid.yaml +++ b/docker/services/iscsid.yaml @@ -93,6 +93,7 @@ outputs: when: stat_iscsid_socket.stat.exists upgrade_tasks: - name: stat /lib/systemd/system/iscsid.service + tags: step2 stat: path=/lib/systemd/system/iscsid.service register: stat_iscsid_service - name: Stop and disable iscsid service @@ -100,6 +101,7 @@ outputs: service: name=iscsid state=stopped enabled=no when: stat_iscsid_service.stat.exists - name: stat /lib/systemd/system/iscsid.socket + tags: step2 stat: path=/lib/systemd/system/iscsid.socket register: stat_iscsid_socket - name: Stop and disable iscsid.socket service -- cgit 1.2.3-korg