Last active
February 4, 2021 22:39
-
-
Save matthewcosgrove/9f123d20e2b7438b3d0b58baed69d1f2 to your computer and use it in GitHub Desktop.
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
#@ load("@ytt:data", "data") | |
all: | |
hosts: #@ data.values | |
vars: | |
ansible_connection: local |
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
#@data/values | |
--- | |
id1: | |
ip: val1 | |
other: val2 | |
id2: | |
ip: val1 | |
other: val2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.get-ytt.io/#gist:https://gist.github.com/matthewcosgrove/9f123d20e2b7438b3d0b58baed69d1f2