Skip to content

Instantly share code, notes, and snippets.

@tomwwright
Created March 28, 2018 11:20
Show Gist options
  • Save tomwwright/2056ef980d96b4ba21f37cbe93907654 to your computer and use it in GitHub Desktop.
Save tomwwright/2056ef980d96b4ba21f37cbe93907654 to your computer and use it in GitHub Desktop.
ansibled : aurora : aurora playbook (cluster only)
# aurora.yml
# ---
# playbook that builds Aurora clusters
# first run a play for any cluster hosts to create them
- hosts: aurora.cluster
environment:
AWS_ACCESS_KEY_ID: "{{ aws_access_key }}"
AWS_SECRET_ACCESS_KEY: "{{ aws_secret_key }}"
AWS_REGION: "{{ aws_region }}"
tasks:
- import_tasks: tasks/vpc/facts.yml
- import_tasks: tasks/aurora/setup.subnet-group.yml
- import_tasks: tasks/aurora/setup.parameter-groups.yml
- import_tasks: tasks/aurora/setup.cluster.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment