ask user which copr-be we should run on
This commit is contained in:
parent
c4a8e5c605
commit
2efc314d13
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue