scenario_sample.yml in rundock-0.3.0 vs scenario_sample.yml in rundock-0.4.0
- old
+ new
@@ -32,19 +32,23 @@
- node: 127.0.0.1
command:
- "hostname"
- "uname -a"
+ hook:
+ - mail
+ - file
- node: anyhost-01
task:
- echo_platform
- echo_users
command:
- errexit: true
- "rm /tmp/riskyfile"
- errexit: false
- "rm /tmp/safetyfile"
- "ls -1 /tmp"
+ hook: all
---
anyhost-01:
host: 192.168.1.11
ssh_opts:
port: 22