Merge branch 'multi-deploy' of https://github.com/ArseniiPetrovich/blockscout-terraform into multi-deploy
This commit is contained in:
commit
d879b87c7a
|
@ -13,4 +13,4 @@
|
|||
- "roles/main_infra/files/terraform.tfplan"
|
||||
- "log.txt"
|
||||
- "blockscout-*"
|
||||
- "/tmp/files-*"
|
||||
- "/tmp/files-*"
|
|
@ -16,4 +16,4 @@
|
|||
when: backend|bool and upload_config_to_s3|bool
|
||||
- include_role:
|
||||
name: s3_debug
|
||||
when: backend|bool and upload_debug_info_to_s3|bool
|
||||
when: backend|bool and upload_debug_info_to_s3|bool
|
|
@ -1,3 +1,6 @@
|
|||
# BlockScout related variables
|
||||
|
||||
## An address of BlockScout repo to download
|
||||
blockscout_repo: https://github.com/poanetwork/blockscout
|
||||
|
||||
# Please, specify the credentials for the test Postgres installation
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
# Infrastructure related group variables
|
||||
|
||||
## Exact path to the TF binary on your local machine
|
||||
terraform_location: "/usr/local/bin/terraform"
|
||||
|
||||
## Name of the DynamoDB table where current lease of TF state file will be stored
|
||||
dynamodb_table: "poa-terraform-lock"
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@ EOF
|
|||
|
||||
log "Installing Erlang.."
|
||||
|
||||
wget http://packages.erlang-solutions.com/site/esl/esl-erlang/FLAVOUR_1_general/esl-erlang_21.1-1~centos~7_amd64.rpm
|
||||
wget https://packages.erlang-solutions.com/erlang/rpm/centos/7/x86_64/esl-erlang_21.1-1~centos~7_amd64.rpm
|
||||
yum localinstall -y wxGTK-devel unixODBC-devel >"$LOG"
|
||||
yum localinstall -y esl-erlang_21.1-1~centos~7_amd64.rpm >"$LOG"
|
||||
|
||||
|
|
|
@ -5,4 +5,4 @@
|
|||
- "group_vars/{{ group_names[0] }}"
|
||||
- "group_vars/{{ group_names[0] }}.yml"
|
||||
- "host_vars/{{ inventory_hostname }}.yml"
|
||||
- "host_vars/{{ inventory_hostname }}"
|
||||
- "host_vars/{{ inventory_hostname }}"
|
|
@ -18,4 +18,4 @@
|
|||
secret_key: "{{ aws_secret_key|default(omit) }}"
|
||||
profile: "{{ aws_profile|default(omit) }}"
|
||||
region: "{{ aws_region|default(omit) }}"
|
||||
when: stat_result.stat.exists == true
|
||||
when: stat_result.stat.exists == true
|
Loading…
Reference in New Issue