зеркало из https://github.com/mozilla/mig-deploy.git
use env specific template vars
This commit is contained in:
Родитель
6308d23025
Коммит
b46a362e62
|
@ -4,7 +4,7 @@
|
|||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- "../vars/default.yml"
|
||||
- "../vars/vars-{{ env }}.yml"
|
||||
|
||||
tasks:
|
||||
- name: Configure MIG application
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- "../vars/default.yml"
|
||||
- "../vars/vars-{{ env }}.yml"
|
||||
|
||||
tasks:
|
||||
- name: Configure MIG base infrastructure
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- "../vars/default.yml"
|
||||
- "../vars/vars-{{ env }}.yml"
|
||||
|
||||
tasks:
|
||||
- name: Get CloudFormation facts for base stack
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- "../vars/default.yml"
|
||||
- "../vars/vars-{{ env }}.yml"
|
||||
- "../vars/sec-{{ env }}.yml"
|
||||
|
||||
tasks:
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
gather_facts: False
|
||||
|
||||
vars_files:
|
||||
- "../vars/default.yml"
|
||||
- "../vars/vars-{{ env }}.yml"
|
||||
|
||||
tasks:
|
||||
- name: Configure MIG instance roles
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
region: us-west-2
|
||||
keys: "alm-keys"
|
||||
ami_id: ami-2709bd47
|
||||
state: present
|
||||
env: prod
|
||||
deployrepo: "https://github.com/mozilla/mig-deploy.git"
|
||||
migrolename: "MIGInstanceRole"
|
||||
sopss3arn: "arn:aws:s3:::infosec-prod-sops"
|
||||
sopss3url: "s3://infosec-prod-sops"
|
||||
|
||||
base_stack_id: "1"
|
||||
base_stack_name: "mig-base-{{ base_stack_id }}"
|
||||
|
||||
app_stack_id: "1"
|
||||
app_stack_name: "mig-app-{{ app_stack_id }}"
|
||||
api_certificate_name: "migapitmp"
|
||||
|
||||
rds_stack_id: "1"
|
||||
rds_stack_name: "mig-rds-{{ rds_stack_id }}"
|
||||
dbname: "mig"
|
||||
dbsnapshotid: ""
|
||||
|
||||
role_stack_id: "1"
|
||||
role_stack_name: "mig-role-{{ rds_stack_id }}"
|
||||
|
||||
# the following are used by promote-app
|
||||
domain: mig.allizom.org
|
||||
apidnszone: api.mig.allizom.org
|
||||
relaydnszone: relay.mig.allizom.org
|
||||
admindnszone: admin.mig.allizom.org
|
Загрузка…
Ссылка в новой задаче