blockscout-terraform/deploy_software.yml

18 lines
556 B
YAML
Raw Normal View History

2019-03-19 10:09:10 -07:00
- name: Deploy BlockScout
hosts: all
2019-03-19 10:09:10 -07:00
tasks:
- block:
- name: Deploy
include_role:
name: main_software
always:
- include_role:
name: s3
when: backend|bool == true and (upload_debug_info_to_s3|bool == true or upload_config_to_s3|bool ==true)
- include_role:
name: s3_config
when: backend|bool == true and upload_config_to_s3|bool == true
- include_role:
name: s3_debug
when: backend|bool == true and upload_debug_info_to_s3|bool == true