fix variable bug
This commit is contained in:
parent
3110fd8b29
commit
60433fb935
|
@ -79,11 +79,10 @@
|
|||
- name: Make config variables lowercase
|
||||
set_fact:
|
||||
lower_env: "{{ lower_env | combine ({item.key|lower : item.value}) }}"
|
||||
with_dict: "{{ custom_environment_chain }}"
|
||||
when: custom_environment_chain|length > 0
|
||||
with_dict: "{{ env_vars }}"
|
||||
when: env_vars|length > 0
|
||||
vars:
|
||||
lower_env: {}
|
||||
custom_environment_chain: "{{ env_vars | default({}) if env_vars>0 else {} }}"
|
||||
tags:
|
||||
- update_vars
|
||||
- build
|
||||
|
@ -123,6 +122,10 @@
|
|||
tags:
|
||||
- build
|
||||
|
||||
- name: Show Server environment variables
|
||||
debug:
|
||||
var: server_env
|
||||
|
||||
- name: Compile BlockScout
|
||||
command: "mix do {{ item }}"
|
||||
args:
|
||||
|
@ -288,7 +291,7 @@
|
|||
pause:
|
||||
prompt: "Do you want to deploy BlockScout? [Yes/No]"
|
||||
register: user_answer
|
||||
until: user_answer.user_input | lower in conditional
|
||||
until: user_answer.user_input | lower in conditional
|
||||
retries: 10000
|
||||
delay: 1
|
||||
vars:
|
||||
|
|
Loading…
Reference in New Issue