scenario_sample.yml in rundock-0.2.0 vs scenario_sample.yml in rundock-0.2.2
- old
+ new
@@ -36,18 +36,28 @@
- "uname -a"
- node: anyhost-01
task:
- echo_platform
- echo_users
+ command:
+ - errexit: true
+ - "rm /tmp/riskyfile"
+ - errexit: false
+ - "rm /tmp/safetyfile"
+ - "ls -1 /tmp"
---
-anyhost-01:
+- anyhost-01:
host: 192.168.1.11
ssh_opts:
port: 22
user: anyuser
+- anyhost-02:
+ host: 192.168.1.12
---
echo_platform:
- - "hostname"
- - "uname -a"
+ command:
+ - "hostname"
+ - "uname -a"
echo_users:
- - "whoami"
- - "w"
+ command:
+ - "whoami"
+ - "w"