summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2016-09-25 17:28:29 +0000
committerPatrick Uiterwijk <puiterwijk@redhat.com>2016-09-25 17:28:29 +0000
commitbd754cae62eca75fbefea1e204fda9bab10fc858 (patch)
treead4956b644301548c4b11ad9c570282c9aa61904
parent57b53ffa9389cfcccfa41a5d2bf876a5b02ace64 (diff)
downloadansible-bd754cae62eca75fbefea1e204fda9bab10fc858.tar.gz
ansible-bd754cae62eca75fbefea1e204fda9bab10fc858.tar.xz
ansible-bd754cae62eca75fbefea1e204fda9bab10fc858.zip
Refuse to sign-and-import unless really intended
This is to force people to use the new infra tags Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
-rw-r--r--playbooks/manual/sign-and-import.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/playbooks/manual/sign-and-import.yml b/playbooks/manual/sign-and-import.yml
index fac69b722..0f2d11103 100644
--- a/playbooks/manual/sign-and-import.yml
+++ b/playbooks/manual/sign-and-import.yml
@@ -27,6 +27,9 @@
- testing: False
tasks:
+ - fail: msg="Please use the infra tags from now on"
+ when: no_use_infratags is not defined
+
- fail: msg="Please specify rhel version with rhel=6/7"
when: rhel is not defined