зеркало из https://github.com/mozilla/mig-deploy.git
33 строки
1.0 KiB
YAML
33 строки
1.0 KiB
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
gather_facts: False
|
|
|
|
vars_files:
|
|
- "../vars/vars-{{ env }}.yml"
|
|
|
|
tasks:
|
|
- name: Configure MIG application
|
|
action: cloudformation
|
|
stack_name="{{ app_stack_name }}"
|
|
state="{{ state }}"
|
|
region="{{ region }}"
|
|
template="../templates/app.json"
|
|
args:
|
|
template_parameters:
|
|
Environment: "{{ env }}"
|
|
ImageId: "{{ ami_id }}"
|
|
ApiInstanceType: "{{ api_instance_type }}"
|
|
RelayInstanceType: "{{ relay_instance_type }}"
|
|
SchedulerInstanceType: "{{ scheduler_instance_type }}"
|
|
KeyName: "{{ keys }}"
|
|
BaseStack: "{{ base_stack_name }}"
|
|
RoleStack: "{{ role_stack_name }}"
|
|
RDSStack: "{{ rds_stack_name }}"
|
|
DeployRepo: "{{ deployrepo }}"
|
|
SopsS3URL: "{{ sopss3url }}"
|
|
APICertName: "{{ api_certificate_name }}"
|
|
SelfServiceCertName: "{{ selfservice_certificate_name }}"
|
|
APIDNSName: "{{ apidnszone }}"
|
|
SelfServiceDNSName: "{{ selfservicednszone }}"
|