Last active
December 13, 2015 20:38
-
-
Save oinopion/4971667 to your computer and use it in GitHub Desktop.
Revisions
-
oinopion revised this gist
Feb 17, 2013 . 2 changed files with 5 additions and 5 deletions.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 @@ -1,4 +1,4 @@ TASK: [debug msg="/home/$user/13-02-17--15-23-58"] ********************* ok: [192.168.60.2] TASK: [pause seconds=5] ********************* @@ -7,5 +7,5 @@ TASK: [pause seconds=5] ********************* Pausing for 5 seconds ok: [192.168.60.2] TASK: [debug msg="/home/$user/13-02-17--15-24-04"] ********************* ok: [192.168.60.2] 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 @@ -1,13 +1,13 @@ --- - hosts: all user: pipeye gather_facts: no vars: date: $LOOKUP(pipe,date +%y-%m-%d--%H-%M-%S) release_dir: /home/$user/$date tasks: - debug: msg="$release_dir" - pause: seconds=5 - debug: msg="$release_dir" -
oinopion created this gist
Feb 17, 2013 .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,11 @@ TASK: [debug msg="13-02-17--15-18-37"] ********************* ok: [192.168.60.2] TASK: [pause seconds=5] ********************* (^C-c = continue early, ^C-a = abort) [192.168.60.2] Pausing for 5 seconds ok: [192.168.60.2] TASK: [debug msg="13-02-17--15-18-43"] ********************* ok: [192.168.60.2] 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,13 @@ --- - hosts: all user: user gather_facts: no vars: date: $LOOKUP(pipe,date +%y-%m-%d--%H-%M-%S) release_dir: /home/$user/$date tasks: - debug: msg="$date" - pause: seconds=5 - debug: msg="$date"