forked from arbabnazar/ansible-aws-vpc-ha-wordpress
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsite.yml
More file actions
32 lines (28 loc) · 666 Bytes
/
site.yml
File metadata and controls
32 lines (28 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
- hosts: local
connection: local
gather_facts: no
vars_files:
- aws/vars/tags.yml
- aws/vars/vpc.yml
- aws/vars/ec2_key.yml
- aws/vars/rds.yml
- aws/vars/webserver.yml
- aws/vars/elb.yml
- aws/vars/route53.yml
tasks:
- include: aws/tasks/vpc.yml
- include: aws/tasks/ec2_key.yml
- include: aws/tasks/webserver.yml
- include: aws/tasks/rds.yml
- include: aws/tasks/elb.yml
- include: aws/tasks/route53.yml
- hosts: webserver
sudo: True
remote_user: ubuntu
gather_facts: True
pre_tasks:
- include_vars: rds_info.yml
roles:
- common
- wordpress