Old tasks.yaml content is commented for plugins packages v4.0
Examples and templates are affected Change-Id: I305d499abbd74bc1f3b0e9de60d85ef66764478e Closes-Bug: #1619255
This commit is contained in:
parent
e4bf931839
commit
d6d8b0de6e
|
@ -1,46 +1,49 @@
|
||||||
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
||||||
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
||||||
|
|
||||||
# This tasks will be applied on controller nodes
|
# This file is left only as an example of the old tasks format what you could
|
||||||
- role: ['primary-controller', 'controller']
|
# meet during plugins development and support.
|
||||||
stage: post_deployment
|
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: bash deploy.sh
|
|
||||||
timeout: 42
|
|
||||||
|
|
||||||
- role: '*'
|
## This tasks will be applied on controller nodes
|
||||||
stage: pre_deployment/100
|
#- role: ['primary-controller', 'controller']
|
||||||
type: shell
|
# stage: post_deployment
|
||||||
parameters:
|
# type: shell
|
||||||
cmd: echo all > /tmp/plugin+100.all
|
# parameters:
|
||||||
timeout: 42
|
# cmd: bash deploy.sh
|
||||||
|
# timeout: 42
|
||||||
- role: '*'
|
#
|
||||||
stage: pre_deployment/+101.0
|
#- role: '*'
|
||||||
type: shell
|
# stage: pre_deployment/100
|
||||||
parameters:
|
# type: shell
|
||||||
cmd: echo all > /tmp/plugin+100.0.all
|
# parameters:
|
||||||
timeout: 42
|
# cmd: echo all > /tmp/plugin+100.all
|
||||||
|
# timeout: 42
|
||||||
- role: '*'
|
#
|
||||||
stage: pre_deployment/-100
|
#- role: '*'
|
||||||
type: shell
|
# stage: pre_deployment/+101.0
|
||||||
parameters:
|
# type: shell
|
||||||
cmd: echo all > /tmp/plugin-100.all
|
# parameters:
|
||||||
timeout: 42
|
# cmd: echo all > /tmp/plugin+100.0.all
|
||||||
|
# timeout: 42
|
||||||
- role: [compute]
|
#
|
||||||
stage: pre_deployment/-101
|
#- role: '*'
|
||||||
type: puppet
|
# stage: pre_deployment/-100
|
||||||
parameters:
|
# type: shell
|
||||||
puppet_manifest: "deploy.pp"
|
# parameters:
|
||||||
puppet_modules: "."
|
# cmd: echo all > /tmp/plugin-100.all
|
||||||
timeout: 3600
|
# timeout: 42
|
||||||
retries: 2
|
#
|
||||||
|
#- role: [compute]
|
||||||
- role: '*'
|
# stage: pre_deployment/-101
|
||||||
stage: pre_deployment
|
# type: puppet
|
||||||
type: reboot
|
# parameters:
|
||||||
parameters:
|
# puppet_manifest: "deploy.pp"
|
||||||
timeout: 600
|
# puppet_modules: "."
|
||||||
|
# timeout: 3600
|
||||||
|
# retries: 2
|
||||||
|
#
|
||||||
|
#- role: '*'
|
||||||
|
# stage: pre_deployment
|
||||||
|
# type: reboot
|
||||||
|
# parameters:
|
||||||
|
# timeout: 600
|
||||||
|
|
|
@ -1,26 +1,29 @@
|
||||||
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
||||||
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
||||||
|
|
||||||
# This tasks will be applied on controller nodes,
|
# This file is left only as an example of the old tasks format what you could
|
||||||
# here you can also specify several roles, for example
|
# meet during plugins development and support.
|
||||||
# ['cinder', 'compute'] will be applied only on
|
|
||||||
# cinder and compute nodes
|
## This tasks will be applied on controller nodes,
|
||||||
- role: ['controller']
|
## here you can also specify several roles, for example
|
||||||
stage: post_deployment
|
## ['cinder', 'compute'] will be applied only on
|
||||||
type: shell
|
## cinder and compute nodes
|
||||||
parameters:
|
#- role: ['controller']
|
||||||
cmd: bash deploy.sh
|
# stage: post_deployment
|
||||||
timeout: 42
|
# type: shell
|
||||||
# Task is applied for all roles
|
# parameters:
|
||||||
- role: '*'
|
# cmd: bash deploy.sh
|
||||||
stage: pre_deployment
|
# timeout: 42
|
||||||
type: shell
|
## Task is applied for all roles
|
||||||
parameters:
|
#- role: '*'
|
||||||
cmd: echo all > /tmp/plugin.all
|
# stage: pre_deployment
|
||||||
timeout: 42
|
# type: shell
|
||||||
# "reboot" task reboots the nodes and waits until they get back online
|
# parameters:
|
||||||
# - role: '*'
|
# cmd: echo all > /tmp/plugin.all
|
||||||
# stage: pre_deployment
|
# timeout: 42
|
||||||
# type: reboot
|
## "reboot" task reboots the nodes and waits until they get back online
|
||||||
# parameters:
|
## - role: '*'
|
||||||
# timeout: 600
|
## stage: pre_deployment
|
||||||
|
## type: reboot
|
||||||
|
## parameters:
|
||||||
|
## timeout: 600
|
||||||
|
|
Loading…
Reference in New Issue