Merge pull request #135 from symanovich-a/master
accept empty env_vars with "enter" key, minor changes
This commit is contained in:
commit
b3b844df0a
|
@ -1,6 +1,5 @@
|
|||
skip_fetch: false
|
||||
|
||||
blockscout_repo: https://github.com/poanetwork/blockscout
|
||||
branch: "production-core"
|
||||
#merge_commit: "2cdead1"
|
||||
ps_db: mydb # The name of the test DB to store data in;
|
||||
|
|
|
@ -223,13 +223,13 @@
|
|||
|
||||
- name: User prompt
|
||||
pause:
|
||||
prompt: "Would you like to remove staging dependencies? [Yes/No]"
|
||||
prompt: "Would you like to remove staging dependencies? [Yes[Enter]/No]"
|
||||
register: user_answer
|
||||
until: user_answer.user_input | lower in conditional
|
||||
retries: 10000
|
||||
delay: 1
|
||||
vars:
|
||||
conditional: ['yes','no','true','false']
|
||||
conditional: ["",'yes','no','true','false']
|
||||
when: inventory_hostname == groups['all'][0]
|
||||
tags:
|
||||
- build
|
||||
|
@ -258,7 +258,7 @@
|
|||
|
||||
- name: User prompt
|
||||
pause:
|
||||
prompt: "Do you want to update the Parameter Store variables? [Yes/No]"
|
||||
prompt: "Do you want to update the Parameter Store variables? [Yes[Enter]/No]"
|
||||
register: user_answer
|
||||
until: user_answer.user_input | lower in conditional
|
||||
retries: 10000
|
||||
|
@ -282,14 +282,14 @@
|
|||
secret_key: "{{ aws_secret_key|default(omit) }}"
|
||||
profile: "{{ aws_profile|default(omit) }}"
|
||||
region: "{{ aws_region|default(omit) }}"
|
||||
with_dict: "{{ lower_env }}"
|
||||
with_dict: "{{ lower_env | default({}) }}"
|
||||
when: hostvars[groups['all'][0]].user_answer.user_input == "" or hostvars[groups['all'][0]].user_answer.user_input | lower | bool
|
||||
tags:
|
||||
- update_vars
|
||||
|
||||
- name: User prompt
|
||||
pause:
|
||||
prompt: "Do you want to deploy BlockScout? [Yes/No]"
|
||||
prompt: "Do you want to deploy BlockScout? [Yes[Enter]/No]"
|
||||
register: user_answer
|
||||
until: user_answer.user_input | lower in conditional
|
||||
retries: 10000
|
||||
|
|
Loading…
Reference in New Issue