2019-02-23 09:23:41 -08:00
|
|
|
- name: Prepare infrastructure
|
|
|
|
hosts: localhost
|
|
|
|
roles:
|
|
|
|
- { role: check }
|
|
|
|
- { role: s3, when: "backend|bool == true" }
|
|
|
|
- { role: dynamodb, when: "backend|bool == true" }
|
|
|
|
- { role: main_infra }
|
|
|
|
environment:
|
|
|
|
AWS_ACCESS_KEY_ID: "{{ aws_access_key }}"
|
|
|
|
AWS_SECRET_ACCESS_KEY: "{{ aws_secret_key }}"
|
2019-02-24 10:07:30 -08:00
|
|
|
AWS_REGION: "{{ region }}"
|