Created
September 1, 2016 19:51
-
-
Save hryamzik/38d41685e5e83c6f9d7ed7b46b806062 to your computer and use it in GitHub Desktop.
Revisions
-
hryamzik created this gist
Sep 1, 2016 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ localhost ansible_connection=local localhost2 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ some_var: 4 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ - hosts: localhost gather_facts: no tasks: - debug: msg="{{ hostvars['localhost2'].some_var }}"