Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tomwwright/8b2fe84c4ad0672c695313b18084af23 to your computer and use it in GitHub Desktop.
Save tomwwright/8b2fe84c4ad0672c695313b18084af23 to your computer and use it in GitHub Desktop.
ansibled : aurora : inventory (cluster and instances), host vars for aurora instances
# host_vars/dba.aurora.ansibled.yml
# ---
# specific configuration for one of our Aurora DBs
aurora_cluster_name: ansibled-aurora-cluster
aurora_db_name: ansibled-aurora-a
aurora_instance_type: db.t2.small
aurora_availability_zone: "{{ aws_region }}a"
aurora_promotion_tier: 1
# host_vars/dbb.aurora.ansibled.yml
# ---
# specific configuration for one of our Aurora DBs
aurora_cluster_name: ansibled-aurora-cluster
aurora_db_name: ansibled-aurora-b
aurora_instance_type: db.t2.small
aurora_availability_zone: "{{ aws_region }}b"
aurora_promotion_tier: 2
# hosts.inventory
# ---
# the host and group list for this example "Ansibled" project
[elasticsearch]
big.elasticsearch.ansibled
small.elasticsearch.ansibled
[aurora.cluster]
cluster.aurora.ansibled
[aurora.db]
dba.aurora.ansibled
dbb.aurora.ansibled
[vpc]
vpc.ansibled
[project.ansibled:children]
vpc
aurora.cluster
aurora.db
elasticsearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment