Sha256: ec0e51ff17e871c43a4a5109c67113ca2e06f15cd00621317d9aa333c6fbb11f

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 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"
- node: anyhost-01
  task:
    - echo_platform
    - echo_users
  command:
    - errexit: true
    - "rm /tmp/riskyfile"
    - errexit: false
    - "rm /tmp/safetyfile"
    - "ls -1 /tmp"
---
- 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

1 entries across 1 versions & 1 rubygems

Version Path
rundock-0.2.2 scenario_sample.yml