# This tasks will be applied on controller nodes
- role: ['primary-controller', 'controller']
  stage: post_deployment
  type: shell
  parameters:
    cmd: bash deploy.sh
    timeout: 42
# Task is applied for all roles
- role: '*'
  stage: pre_deployment
  type: shell
  parameters:
    cmd: echo all > /tmp/plugin.all
    timeout: 42
# "reboot" task reboots the nodes and waits until they get back online
# - role: '*'
#   stage: pre_deployment
#   type: reboot
#   parameters:
#     timeout: 600
