41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
# Copyright (c) 2016 AT&T Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
|
# not use this file except in compliance with the License. You may obtain
|
|
# a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
|
|
# WARNING: `tasks.yaml` will be deprecated in further releases.
|
|
# Please, use `deployment_tasks.yaml` to describe tasks instead.
|
|
|
|
# This tasks will be applied on controller nodes,
|
|
# here you can also specify several roles, for example
|
|
# ['cinder', 'compute'] will be applied only on
|
|
# cinder and compute nodes
|
|
- role: ['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
|