Created
February 17, 2013 18:37
-
-
Save oinopion/4972703 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
TASK: [aasdfasds] ********************* | |
ok: [192.168.60.2] => {"msg": "$home/13-02-17--19-36-28"} | |
TASK: [pause seconds=2] ********************* | |
(^C-c = continue early, ^C-a = abort) | |
[192.168.60.2] | |
Pausing for 2 seconds | |
ok: [192.168.60.2] => {"changed": false, "delta": 2, "rc": 0, "start": "2013-02-17 19:36:28.635563", "stderr": "", "stdout": "Paused for 2.0 seconds", "stop": "2013-02-17 19:36:30.635935"} | |
TASK: [aasdfasd] ********************* | |
ok: [192.168.60.2] => {"msg": "$home/13-02-17--19-36-30"} | |
PLAY RECAP ********************* | |
192.168.60.2 : ok=3 changed=0 unreachable=0 failed=0 |
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
TASK: [debug msg=$home/13-02-17--19-37-07] ********************* | |
ok: [192.168.60.2] => {"msg": "$home/13-02-17--19-37-07"} | |
TASK: [pause seconds=2] ********************* | |
(^C-c = continue early, ^C-a = abort) | |
[192.168.60.2] | |
Pausing for 2 seconds | |
ok: [192.168.60.2] => {"changed": false, "delta": 2, "rc": 0, "start": "2013-02-17 19:37:07.555456", "stderr": "", "stdout": "Paused for 2.0 seconds", "stop": "2013-02-17 19:37:09.556813"} | |
TASK: [debug msg=$home/13-02-17--19-37-07] ********************* | |
ok: [192.168.60.2] => {"msg": "$home/13-02-17--19-37-07"} |
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
--- | |
- hosts: all | |
user: root | |
gather_facts: no | |
vars: | |
date: $PIPE_ONCE(date +%y-%m-%d--%H-%M-%S) | |
release_dir: $home/$date | |
tasks: | |
- debug: msg=$release_dir | |
name: aasdfasds | |
- pause: seconds=2 | |
- debug: msg=$release_dir | |
name: aasdfasd | |
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
--- | |
- hosts: all | |
user: root | |
gather_facts: no | |
vars: | |
date: $PIPE_ONCE(date +%y-%m-%d--%H-%M-%S) | |
release_dir: $home/$date | |
tasks: | |
- debug: msg=$release_dir | |
- pause: seconds=2 | |
- debug: msg=$release_dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment