diff --git a/playbooks/sign_and_import.yml b/playbooks/sign_and_import.yml index 76fa4e26b5..fcc48cd490 100644 --- a/playbooks/sign_and_import.yml +++ b/playbooks/sign_and_import.yml @@ -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