Last active
December 13, 2015 20:38
-
-
Save oinopion/4971667 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: [debug msg="/home/$user/13-02-17--15-23-58"] ********************* | |
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="/home/$user/13-02-17--15-24-04"] ********************* | |
ok: [192.168.60.2] |
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: 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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment