diff --git a/clean.yml b/clean.yml index e1e19d7..cd9af4c 100644 --- a/clean.yml +++ b/clean.yml @@ -13,4 +13,4 @@ - "roles/main_infra/files/terraform.tfplan" - "log.txt" - "blockscout-*" - - "/tmp/files-*" + - "/tmp/files-*" \ No newline at end of file diff --git a/deploy_software.yml b/deploy_software.yml index 563469e..ff4c4b4 100644 --- a/deploy_software.yml +++ b/deploy_software.yml @@ -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 \ No newline at end of file diff --git a/group_vars/blockscout.yml.example b/group_vars/blockscout.yml.example index b3b9d06..9b42367 100644 --- a/group_vars/blockscout.yml.example +++ b/group_vars/blockscout.yml.example @@ -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 diff --git a/group_vars/infrastructure.yml.example b/group_vars/infrastructure.yml.example index 82b9d02..348be3a 100644 --- a/group_vars/infrastructure.yml.example +++ b/group_vars/infrastructure.yml.example @@ -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" diff --git a/roles/main_infra/files/libexec/init.sh b/roles/main_infra/files/libexec/init.sh index 36a6218..d69276a 100755 --- a/roles/main_infra/files/libexec/init.sh +++ b/roles/main_infra/files/libexec/init.sh @@ -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" diff --git a/roles/s3_config/tasks/main.yml b/roles/s3_config/tasks/main.yml index 3cb963f..d3efd6a 100644 --- a/roles/s3_config/tasks/main.yml +++ b/roles/s3_config/tasks/main.yml @@ -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 }}" \ No newline at end of file diff --git a/roles/s3_debug/tasks/main.yml b/roles/s3_debug/tasks/main.yml index 4f617d3..eeb6719 100644 --- a/roles/s3_debug/tasks/main.yml +++ b/roles/s3_debug/tasks/main.yml @@ -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 \ No newline at end of file