Temporarily fix bug with favicon, fix hosts list warning

This commit is contained in:
a@a.ru 2019-04-16 14:58:25 +03:00
parent 2112c6ec4f
commit e64ba18820
4 changed files with 16 additions and 1 deletions

View File

@ -1,2 +1,6 @@
[defaults]
force_handlers = True
pipelining = True
inventory = hosts
deprecation_warnings = False
host_key_checking=false

View File

@ -1,3 +1,6 @@
# System variables
ansible_python_interpreter: "/usr/bin/python3"
# Common variables
## Credentials to connect to AWS
@ -22,4 +25,4 @@ chains:
sokol: "https://192.168.0.1:8545"
## Region. It is recommended to deploy to us-east-1 as some of the other regions fails due to varied reasons
region: "us-east-1"
region: "us-east-1"

1
hosts Normal file
View File

@ -0,0 +1 @@
localhost ansible_connection=local

View File

@ -137,6 +137,13 @@
- "blockscout-{{ chain }}/logs/dev/"
when: user_answer.user_input|bool == true
- name: Fix bug with favicon
copy:
src: "{{ item }}"
dest: "blockscout-{{ chain }}/apps/block_scout_web/priv/static/images/"
with_fileglob:
- "blockscout-{{ chain }}/apps/block_scout_web/priv/static/favicon*"
- name: Upload Blockscout to S3
command: "aws deploy push --application-name={{ prefix }}-explorer --s3-location s3://{{ prefix }}-explorer-codedeploy-releases/blockscout-{{ chain }}.zip --source=blockscout-{{ chain }}"
register: push_output