macOS ◆ xterm-256color ◆ bash 345 views

In this video you can see reboot task.

Nodes 1 and 2 will run shell command, after it reboot and again after they return to online state, they will run second shell command.

Tasks in plugin.

- role: '*'
  stage: pre_deployment
  type: shell
  parameters:
    cmd: sleep 20
    timeout: 30
# Task is applied for all roles
- role: '*'
  stage: pre_deployment
  type: reboot
  parameters:
    timeout: 60
- role: '*'
  stage: pre_deployment
  type: shell
  parameters:
    cmd: sleep 50
    timeout: 60