Error out if rhel version is not specified

This commit is contained in:
Patrick Uiterwijk 2014-06-23 21:05:58 +00:00
parent 049c6c3bba
commit 0882689603

View file

@ -23,6 +23,12 @@
- testing: False
tasks:
- fail: msg="Please specify rhel version with rhel=6/7"
when: rhel is not defined
- fail: msg="Please specify rpmdir with rpmdir=..."
when: rpmdir is not defined
- name: Fail if no rpmdir provided
fail: msg="No rpmdir provided"
when: rpmdir is not defined