28 lines
601 B
YAML
28 lines
601 B
YAML
- id: custom_task_on_controller
|
|
type: shell
|
|
version: 2.0.0
|
|
role: ['/(primary-)?controller/']
|
|
parameters:
|
|
cmd: 'echo "controller" >> /tmp/custom_task_log'
|
|
|
|
- id: custom_task_on_compute
|
|
type: shell
|
|
version: 2.0.0
|
|
role: ['compute']
|
|
parameters:
|
|
cmd: 'echo "compute" >> /tmp/custom_task_log'
|
|
|
|
- id: custom_task_on_cinder
|
|
type: shell
|
|
version: 2.0.0
|
|
role: ['cinder']
|
|
parameters:
|
|
cmd: 'echo "cinder" >> /tmp/custom_task_log'
|
|
|
|
- id: custom_task_on_ceph-osd
|
|
type: shell
|
|
version: 2.0.0
|
|
role: ['ceph-osd']
|
|
parameters:
|
|
cmd: 'echo "ceph-osd" >> /tmp/custom_task_log'
|