Last active
January 14, 2016 13:18
-
-
Save kevduggan/9a78a062cfcba2017496 to your computer and use it in GitHub Desktop.
merge dynamic ec2 and static inventory
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Map the ec2 groups (from the dynamic inventory ec2.py) to our groups. | |
| # This merges the static and dynamic inventory. | |
| # | |
| # Placeholders for the dynamic ec2 groups must be added to the static inventory. | |
| # You can then use them throughout the rest of the inventory | |
| [tag_kafka_yes] | |
| # map all dynamic instances tagged with 'tag_kafka_yes' into the static kafka group | |
| [kafka:children] | |
| tag_kafka_yes | |
| [tag_kubernetes_yes] | |
| [kubernetes:children] | |
| tag_kubernetes_yes | |
| [tag_kubernetes_master_yes] | |
| [kubernetes_master:children] | |
| tag_kubernetes_master_yes | |
| [tag_kubernetes_minion_yes] | |
| [kubernetes_minion:children] | |
| tag_kubernetes_minion_yes | |
| [tag_zookeeper_yes] | |
| [zookeeper:children] | |
| tag_zookeeper_yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment