Sha256: b7714543f29cc6d2e26084369d156f69a3b4e178de56b7b6546d66df6f0a9cfd

Contents?: true

Size: 1.13 KB

Versions: 15

Compression:

Stored size: 1.13 KB

Contents

#
# This file is example of rundock scenario file based on yaml format.
#
# -------------------------------------------------------------------
# ###  scenario section  ###
# - node: <nodename>
#   <taskname>:
#     - <task detail>
#     - :
#   <taskname>:
#     - <task detail>
#     - :
# - node: <nodename>
#   :
# ---
# ###  host information section  ###
# <hostname>:
#   host: xxx.xxx.xxx.xxx
#   <other_attributes>:
#     :
# <hostname>:
#   :
# ---
# ###  task information section  ###
# <taskname>:
#   - "<actual command>"
#   - :
# <taskname>:
#   :
# -------------------------------------------------------------------
#

- 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
    user: anyuser
anyhost-02:
  host: 192.168.1.12
---
echo_platform:
  command:
    - "hostname"
    - "uname -a"
echo_users:
  command:
    - "whoami"
    - "w"

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rundock-0.4.16 scenario_sample.yml
rundock-0.4.15 scenario_sample.yml
rundock-0.4.14 scenario_sample.yml
rundock-0.4.13 scenario_sample.yml
rundock-0.4.12 scenario_sample.yml
rundock-0.4.11 scenario_sample.yml
rundock-0.4.10 scenario_sample.yml
rundock-0.4.8 scenario_sample.yml
rundock-0.4.7 scenario_sample.yml
rundock-0.4.6 scenario_sample.yml
rundock-0.4.4 scenario_sample.yml
rundock-0.4.3 scenario_sample.yml
rundock-0.4.2 scenario_sample.yml
rundock-0.4.1 scenario_sample.yml
rundock-0.4.0 scenario_sample.yml