diff options
author | Jiri Stransky <jistr@redhat.com> | 2017-06-29 12:07:58 +0200 |
---|---|---|
committer | Jiri Stransky <jistr@redhat.com> | 2017-06-29 12:07:58 +0200 |
commit | 83ed45babf62990127b62529901d8f04d6792446 (patch) | |
tree | e247970bfc6c36d78388c4468b36e897356ec220 | |
parent | 4221b013d36244759079d26ed834fb24e481f0b3 (diff) |
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
-rw-r--r-- | docker/services/iscsid.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
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 |