Fuel plugin for bare metal configuration and provisioning ready to deploy VMs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tasks.yaml 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright (c) 2016 AT&T Inc.
  2. #
  3. # Licensed under the Apache License, Version 2.0 (the "License"); you may
  4. # not use this file except in compliance with the License. You may obtain
  5. # a copy of the License at
  6. #
  7. # http://www.apache.org/licenses/LICENSE-2.0
  8. #
  9. # Unless required by applicable law or agreed to in writing, software
  10. # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  11. # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  12. # License for the specific language governing permissions and limitations
  13. # under the License.
  14. # WARNING: `tasks.yaml` will be deprecated in further releases.
  15. # Please, use `deployment_tasks.yaml` to describe tasks instead.
  16. # This tasks will be applied on controller nodes,
  17. # here you can also specify several roles, for example
  18. # ['cinder', 'compute'] will be applied only on
  19. # cinder and compute nodes
  20. - role: ['controller']
  21. stage: post_deployment
  22. type: shell
  23. parameters:
  24. cmd: bash deploy.sh
  25. timeout: 42
  26. # Task is applied for all roles
  27. - role: '*'
  28. stage: pre_deployment
  29. type: shell
  30. parameters:
  31. cmd: echo all > /tmp/plugin.all
  32. timeout: 42
  33. # "reboot" task reboots the nodes and waits until they get back online
  34. # - role: '*'
  35. # stage: pre_deployment
  36. # type: reboot
  37. # parameters:
  38. # timeout: 600