Created
January 30, 2017 10:46
-
-
Save TrafeX/122e8c04e793d52f5ececee6bbb78e56 to your computer and use it in GitHub Desktop.
This file contains 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
def v2_playbook_on_play_start(self, play): | |
hosts = play.get_variable_manager()._inventory.get_hosts() | |
for host in hosts: | |
pprint(host.get_group_vars()['applicaton.deploy_env']) | |
pprint(host.get_group_vars()) | |
pprint(host.get_vars()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment