ask user which copr-be we should run on

This commit is contained in:
Miroslav Suchý 2015-03-18 14:11:21 +00:00
parent c4a8e5c605
commit 2efc314d13

View file

@ -15,6 +15,12 @@
vars:
OS_AUTH_URL: "https://fed-cloud09.cloud.fedoraproject.org:5000/v2.0"
vars_prompt:
- name: "WHICH_ONE"
prompt: "Do you want to run playbook on prod or stage or both?"
private: no
default: "both"
# DEBUG OTHER
#vars_prompt:
# - name: "OS_USERNAME"
@ -27,6 +33,9 @@
tasks:
- fail: msg="Choose one - prod, stage or both."
when: WHICH_ONE not in ["prod", "both"]
# - include: "{{ tasks }}/persistent_cloud.yml"
# DEBUG OTHER