Created
January 15, 2014 15:56
-
-
Save cespare/8438767 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
| --- | |
| - name: hang test | |
| hosts: "{{ hosts }}" | |
| tasks: | |
| - name: hang test 1 | |
| local_action: command ssh {{ inventory_hostname }} ls | |
| when: task_to_run == "1" | |
| - name: hang test 2 | |
| local_action: shell ssh {{ inventory_hostname }} ls 2>/dev/null | |
| when: task_to_run == "2" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment