-
Notifications
You must be signed in to change notification settings - Fork 0
/
deployment_tasks.yaml
120 lines (107 loc) · 3.3 KB
/
deployment_tasks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# These tasks will be merged into deployment graph. Here you
# can specify new tasks for any roles, even built-in ones.
- id: barbican
type: group
role: [barbican]
required_for: [deploy_end]
requires: [firewall]
tasks: [hiera, fuel_pkgs, globals, tools, logging,
netconfig, hosts, firewall]
parameters:
strategy:
type: parallel
- id: primary-barbican
type: group
role: [primary-barbican]
required_for: [deploy_end]
requires: [firewall]
tasks: [hiera, fuel_pkgs, globals, tools, logging,
netconfig, hosts, firewall]
parameters:
strategy:
type: one_by_one
#- id: fuel-plugin-barbican-deployment-puppet
# type: puppet
# role: [fuel-plugin-barbican_role]
# requires: [deploy_start]
# required_for: [deploy_end]
# version: 2.0.0 # tasks v2.0.0 is supporting task-based deployment
# cross-depends:
# - name: deploy_start
# cross-depended-by:
# - name: deploy_end
# parameters:
# puppet_manifest: "deploy.pp"
# puppet_modules: "."
# timeout: 3600
- id: barbican_db
type: puppet
groups: [primary-barbican, barbican]
requires: [primary-controller]
required_for: [barbican_openstack]
parameters:
puppet_manifest: puppet/manifests/db_barbican.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: barbican_firewall
type: puppet
groups: [primary-barbican, barbican]
requires: [netconfig]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/firewall.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: barbican_haproxy
type: puppet
groups: [primary-controller, controller]
requires: [deploy_start, primary-cluster-haproxy, cluster-haproxy]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/openstack-haproxy-barbican.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: barbican_openstack
type: puppet
groups: [primary-barbican, barbican]
requires: [barbican_db]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/openstack_barbican.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: barbican_keystone
type: puppet
groups: [primary-controller]
requires: [primary-keystone]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/keystone.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: barbican_keystone_hook
type: puppet
groups: [primary-barbican, barbican]
requires: [barbican_openstack]
required_for: [deploy_end]
parameters:
puppet_manifest: puppet/manifests/barbican_keystone_hook.pp
puppet_modules: "puppet/modules/:/etc/puppet/modules/"
timeout: 3600
cwd: /etc/fuel/plugins/barbican-1.0
- id: compute_contrail_hook
version: 2.0.0
type: puppet
role: [compute]
requires: [post_deployment_start]
required_for: [post_deployment_end]
condition: "settings:barbican.use_contrail.value == true"
parameters:
puppet_manifest: puppet/manifests/vrouter.pp
puppet_modules: puppet/modules:/etc/puppet/modules
timeout: 60