Error out if rhel version is not specified
This commit is contained in:
parent
049c6c3bba
commit
0882689603
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue