diff --git a/examples/fuel_plugin_example_v3/deployment_tasks.yaml b/examples/fuel_plugin_example_v3/deployment_tasks.yaml index 18d6b7e..47b9b01 100644 --- a/examples/fuel_plugin_example_v3/deployment_tasks.yaml +++ b/examples/fuel_plugin_example_v3/deployment_tasks.yaml @@ -41,3 +41,53 @@ retries: 3 interval: 20 timeout: 180 + +# This legacy tasks will be applied on controller nodes +- id: fuel_plugin_example_v3-legacy-1 + role: ['primary-controller', 'controller'] + stage: post_deployment + type: shell + parameters: + cmd: bash deploy.sh + timeout: 42 + +- id: fuel_plugin_example_v3-legacy-2 + role: '*' + stage: pre_deployment/100 + type: shell + parameters: + cmd: echo all > /tmp/plugin+100.all + timeout: 42 + +- id: fuel_plugin_example_v3-legacy-3 + role: '*' + stage: pre_deployment/+101.0 + type: shell + parameters: + cmd: echo all > /tmp/plugin+100.0.all + timeout: 42 + +- id: fuel_plugin_example_v3-legacy-4 + role: '*' + stage: pre_deployment/-100 + type: shell + parameters: + cmd: echo all > /tmp/plugin-100.all + timeout: 42 + +- id: fuel_plugin_example_v3-legacy-5 + role: [compute] + stage: pre_deployment/-101 + type: puppet + parameters: + puppet_manifest: "deploy.pp" + puppet_modules: "." + timeout: 3600 + retries: 2 + +- id: fuel_plugin_example_v3-legacy-6 + role: '*' + stage: pre_deployment + type: reboot + parameters: + timeout: 600