mig-deploy/playbooks/base.yml

25 строки
615 B
YAML

---
- hosts: localhost
connection: local
gather_facts: False
vars_files:
- "../vars/vars-{{ env }}.yml"
tasks:
- name: Configure MIG base infrastructure
action: cloudformation
stack_name="{{ base_stack_name }}"
state="{{ state }}"
region="{{ region }}"
template="../templates/base.json"
args:
template_parameters:
Environment: "{{ env }}"
ImageId: "{{ ami_id }}"
InstanceType: "t2.micro"
KeyName: "{{ keys }}"
DeployRepo: "{{ deployrepo }}"
RoleStack: "{{ role_stack_name }}"
SopsS3URL: "{{ sopss3url }}"