Skip to content

Instantly share code, notes, and snippets.

@oinopion
Last active December 13, 2015 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oinopion/4971667 to your computer and use it in GitHub Desktop.
Save oinopion/4971667 to your computer and use it in GitHub Desktop.
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]
---
- 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