tasks.yaml was commented for plugin example v3
Task from tasks.yaml in example v3 was running example.pp the second time and this have been fixed. Change-Id: Ic4263cc7998f9bba9f0144ddc46613d30fa5c002 Closes-Bug: #1625244
This commit is contained in:
parent
4983c5c7d0
commit
2ce77d627e
|
@ -1,43 +1,7 @@
|
||||||
# This tasks will be applied on controller nodes
|
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
||||||
- role: ['primary-controller', 'controller']
|
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
||||||
stage: post_deployment
|
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: bash deploy.sh
|
|
||||||
timeout: 42
|
|
||||||
|
|
||||||
- role: '*'
|
# This file is left only as an example of what you could
|
||||||
stage: pre_deployment/100
|
# meet during plugins development and support.
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: echo all > /tmp/plugin+100.all
|
|
||||||
timeout: 42
|
|
||||||
|
|
||||||
- role: '*'
|
[]
|
||||||
stage: pre_deployment/+101.0
|
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: echo all > /tmp/plugin+100.0.all
|
|
||||||
timeout: 42
|
|
||||||
|
|
||||||
- role: '*'
|
|
||||||
stage: pre_deployment/-100
|
|
||||||
type: shell
|
|
||||||
parameters:
|
|
||||||
cmd: echo all > /tmp/plugin-100.all
|
|
||||||
timeout: 42
|
|
||||||
|
|
||||||
- role: [compute]
|
|
||||||
stage: pre_deployment/-101
|
|
||||||
type: puppet
|
|
||||||
parameters:
|
|
||||||
puppet_manifest: "deploy.pp"
|
|
||||||
puppet_modules: "."
|
|
||||||
timeout: 3600
|
|
||||||
retries: 2
|
|
||||||
|
|
||||||
- role: '*'
|
|
||||||
stage: pre_deployment
|
|
||||||
type: reboot
|
|
||||||
parameters:
|
|
||||||
timeout: 600
|
|
|
@ -1,49 +1,5 @@
|
||||||
# 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 file is left only as an example of the old tasks format what you could
|
# This file is left only as an example of what you could
|
||||||
# meet during plugins development and support.
|
# meet during plugins development and support.
|
||||||
|
|
||||||
## This tasks will be applied on controller nodes
|
|
||||||
#- role: ['primary-controller', 'controller']
|
|
||||||
# stage: post_deployment
|
|
||||||
# type: shell
|
|
||||||
# parameters:
|
|
||||||
# cmd: bash deploy.sh
|
|
||||||
# timeout: 42
|
|
||||||
#
|
|
||||||
#- role: '*'
|
|
||||||
# stage: pre_deployment/100
|
|
||||||
# type: shell
|
|
||||||
# parameters:
|
|
||||||
# cmd: echo all > /tmp/plugin+100.all
|
|
||||||
# timeout: 42
|
|
||||||
#
|
|
||||||
#- role: '*'
|
|
||||||
# stage: pre_deployment/+101.0
|
|
||||||
# type: shell
|
|
||||||
# parameters:
|
|
||||||
# cmd: echo all > /tmp/plugin+100.0.all
|
|
||||||
# timeout: 42
|
|
||||||
#
|
|
||||||
#- role: '*'
|
|
||||||
# stage: pre_deployment/-100
|
|
||||||
# type: shell
|
|
||||||
# parameters:
|
|
||||||
# cmd: echo all > /tmp/plugin-100.all
|
|
||||||
# timeout: 42
|
|
||||||
#
|
|
||||||
#- role: [compute]
|
|
||||||
# stage: pre_deployment/-101
|
|
||||||
# type: puppet
|
|
||||||
# parameters:
|
|
||||||
# puppet_manifest: "deploy.pp"
|
|
||||||
# puppet_modules: "."
|
|
||||||
# timeout: 3600
|
|
||||||
# retries: 2
|
|
||||||
#
|
|
||||||
#- role: '*'
|
|
||||||
# stage: pre_deployment
|
|
||||||
# type: reboot
|
|
||||||
# parameters:
|
|
||||||
# timeout: 600
|
|
||||||
|
|
Loading…
Reference in New Issue