-
Notifications
You must be signed in to change notification settings - Fork 3
/
site.yml
19 lines (19 loc) · 1.61 KB
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
- hosts: site
connection: local
gather_facts: false
roles:
- { role: common/ec2/security-group, security_group_items: "{{ security_group_load_balancer_web }}" }
- { role: common/elb/load-balancer, load_balancer_items: "{{ load_balancer_web }}" }
- { role: common/ec2/security-group, security_group_items: "{{ security_group_ec2_instance_web }}" }
- { role: common/ec2/security-group, security_group_items: "{{ security_group_ec2_instance_mongo }}" }
- { role: common/iam/role, role_items: "{{ role_launch_configuration }}" }
- { role: common/iam/instance-profile, instance_profile_items: "{{ instance_profile_launch_configuration }}" }
- { role: common/iam/role, role_items: "{{ role_ecs_service }}" }
- { role: common/logs/log-group, log_group_items: "{{ log_group }}" }
- { role: common/ecs/cluster, cluster_items: "{{ cluster_launch_configuration_mongo }}" }
- { role: common/as/launch-configuration-auto-scaling-group, launch_configuration_auto_scaling_group_items: "{{ launch_configuration_auto_scaling_group_mongo }}" }
- { role: common/ecs/task-definition-service, task_definition_service_items: "{{ task_definition_service_mongo }}" }
- { role: common/ecs/cluster, cluster_items: "{{ cluster_launch_configuration_web }}" }
- { role: common/as/launch-configuration-auto-scaling-group, launch_configuration_auto_scaling_group_items: "{{ launch_configuration_auto_scaling_group_web }}" }
- { role: common/ecs/task-definition-service, task_definition_service_items: "{{ task_definition_service_web }}" }
- { role: common/r53/record-set, record_set_items: "{{ record_set }}" }