diff options
author | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-04 12:52:06 -0300 |
---|---|---|
committer | Devan Goodwin <dgoodwin@redhat.com> | 2016-07-04 12:52:06 -0300 |
commit | cf737735ffdbc2a83d03361e57538a5bff903f6f (patch) | |
tree | c9ff3c714946371719f7f5176f29f77f232c3ebd /roles | |
parent | 0f5b273c977af59ee2fdbb63efe8b8a3722c988c (diff) | |
download | openshift-cf737735ffdbc2a83d03361e57538a5bff903f6f.tar.gz openshift-cf737735ffdbc2a83d03361e57538a5bff903f6f.tar.bz2 openshift-cf737735ffdbc2a83d03361e57538a5bff903f6f.tar.xz openshift-cf737735ffdbc2a83d03361e57538a5bff903f6f.zip |
Fixes for Ansible 2.1.
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_version/tasks/main.yml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/roles/openshift_version/tasks/main.yml b/roles/openshift_version/tasks/main.yml index 8cd66cbe9..a27ddeaee 100644 --- a/roles/openshift_version/tasks/main.yml +++ b/roles/openshift_version/tasks/main.yml @@ -69,13 +69,16 @@ - debug: var=openshift_pkg_version - debug: var=openshift_image_tag -- fail: openshift_version role was unable to set openshift_version +- fail: + msg: openshift_version role was unable to set openshift_version when: openshift_version is not defined -- fail: openshift_version role was unable to set openshift_image_tag +- fail: + msg: openshift_version role was unable to set openshift_image_tag when: openshift_image_tag is not defined -- fail: openshift_version role was unable to set openshift_pkg_version +- fail: + msg: openshift_version role was unable to set openshift_pkg_version when: openshift_pkg_version is not defined # We can't map an openshift_release to full rpm version like we can with containers, make sure |