Skip to content

Instantly share code, notes, and snippets.

@arbabnazar
Created August 3, 2015 14:00
Show Gist options
  • Save arbabnazar/a252636234b9dc8abd44 to your computer and use it in GitHub Desktop.
Save arbabnazar/a252636234b9dc8abd44 to your computer and use it in GitHub Desktop.
---
- 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment