Browse Source

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
Ilya Kutukov 2 years ago
parent
commit
2ce77d627e

+ 5
- 41
examples/fuel_plugin_example_v3/tasks.yaml View File

@@ -1,43 +1,7 @@
1
-# This tasks will be applied on controller nodes
2
-- role: ['primary-controller', 'controller']
3
-  stage: post_deployment
4
-  type: shell
5
-  parameters:
6
-    cmd: bash deploy.sh
7
-    timeout: 42
1
+# WARNING: `tasks.yaml` will be deprecated in further releases.
2
+# Please, use `deployment_tasks.yaml` to describe tasks instead.
8 3
 
9
-- role: '*'
10
-  stage: pre_deployment/100
11
-  type: shell
12
-  parameters:
13
-    cmd: echo all > /tmp/plugin+100.all
14
-    timeout: 42
4
+# This file is left only as an example of what you could
5
+# meet during plugins development and support.
15 6
 
16
-- role: '*'
17
-  stage: pre_deployment/+101.0
18
-  type: shell
19
-  parameters:
20
-    cmd: echo all > /tmp/plugin+100.0.all
21
-    timeout: 42
22
-
23
-- role: '*'
24
-  stage: pre_deployment/-100
25
-  type: shell
26
-  parameters:
27
-    cmd: echo all > /tmp/plugin-100.all
28
-    timeout: 42
29
-
30
-- role: [compute]
31
-  stage: pre_deployment/-101
32
-  type: puppet
33
-  parameters:
34
-    puppet_manifest: "deploy.pp"
35
-    puppet_modules: "."
36
-    timeout: 3600
37
-    retries: 2
38
-
39
-- role: '*'
40
-  stage: pre_deployment
41
-  type: reboot
42
-  parameters:
43
-    timeout: 600
7
+[]

+ 1
- 45
examples/fuel_plugin_example_v4/tasks.yaml View File

@@ -1,49 +1,5 @@
1 1
 # WARNING: `tasks.yaml` will be deprecated in further releases.
2 2
 # Please, use `deployment_tasks.yaml` to describe tasks instead.
3 3
 
4
-# This file is left only as an example of the old tasks format what you could
4
+# This file is left only as an example of what you could
5 5
 # meet during plugins development and support.
6
-
7
-## This tasks will be applied on controller nodes
8
-#- role: ['primary-controller', 'controller']
9
-#  stage: post_deployment
10
-#  type: shell
11
-#  parameters:
12
-#    cmd: bash deploy.sh
13
-#    timeout: 42
14
-#
15
-#- role: '*'
16
-#  stage: pre_deployment/100
17
-#  type: shell
18
-#  parameters:
19
-#    cmd: echo all > /tmp/plugin+100.all
20
-#    timeout: 42
21
-#
22
-#- role: '*'
23
-#  stage: pre_deployment/+101.0
24
-#  type: shell
25
-#  parameters:
26
-#    cmd: echo all > /tmp/plugin+100.0.all
27
-#    timeout: 42
28
-#
29
-#- role: '*'
30
-#  stage: pre_deployment/-100
31
-#  type: shell
32
-#  parameters:
33
-#    cmd: echo all > /tmp/plugin-100.all
34
-#    timeout: 42
35
-#
36
-#- role: [compute]
37
-#  stage: pre_deployment/-101
38
-#  type: puppet
39
-#  parameters:
40
-#    puppet_manifest: "deploy.pp"
41
-#    puppet_modules: "."
42
-#    timeout: 3600
43
-#    retries: 2
44
-#
45
-#- role: '*'
46
-#  stage: pre_deployment
47
-#  type: reboot
48
-#  parameters:
49
-#    timeout: 600

Loading…
Cancel
Save