fix conditional bug and variables
This commit is contained in:
parent
4ecac2083f
commit
dac2b7dcf5
|
@ -1,9 +1,3 @@
|
|||
blockscout_repo: https://github.com/poanetwork/blockscout
|
||||
|
||||
ps_host: localhost
|
||||
ps_user: myuser
|
||||
ps_password: mypass
|
||||
|
||||
# System variables
|
||||
ansible_python_interpreter: "/usr/bin/python3"
|
||||
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
profile: "{{ aws_profile|default(omit) }}"
|
||||
region: "{{ aws_region|default(omit) }}"
|
||||
with_dict: "{{ lower_env }}"
|
||||
when: hostvars[groups['all'][0]].user_answer.user_input | lower | bool
|
||||
when: hostvars[groups['all'][0]].user_answer.user_input | lower | bool and lower_env is defined
|
||||
tags:
|
||||
- update_vars
|
||||
|
||||
|
|
Loading…
Reference in New Issue