blob: 4714173e7baa2c6691ff5c1860f8f0e1d2734145 [file] [log] [blame]
Tatyana Leontovich50e62dd2018-03-28 20:59:52 +03001{% from 'virtual-offline-ssl/underlay.yaml' import HOSTNAME_CFG01 with context %}
2{% from 'virtual-offline-ssl/underlay.yaml' import HOSTNAME_CTL01 with context %}
3{% from 'virtual-offline-ssl/underlay.yaml' import HOSTNAME_CTL02 with context %}
4{% from 'virtual-offline-ssl/underlay.yaml' import HOSTNAME_CTL03 with context %}
5{% from 'virtual-offline-ssl/underlay.yaml' import HOSTNAME_GTW01 with context %}
6{% from 'shared-salt.yaml' import IPV4_NET_EXTERNAL_PREFIX with context %}
7{% from 'shared-salt.yaml' import IPV4_NET_TENANT_PREFIX with context %}
8{% set REPOSITORY_SUITE = os_env('REPOSITORY_SUITE', 'proposed') %}
9{% set DOCKER_LOCAL_REPO = os_env('DOCKER_LOCAL_REPO', 'deb [arch=amd64] http://mirror.mcp.mirantis.local.test/ubuntu-xenial/docker/ ' + REPOSITORY_SUITE + ' stable') %}
10
11
12# Install OpenStack control services
13
14- description: Nginx
15 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
16 -C 'I@nginx:server' state.sls salt.minion
17 node_name: {{ HOSTNAME_CFG01 }}
18 retry: {count: 1, delay: 5}
19 skip_fail: true
20
21- description: Deploy nginx proxy
22 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
23 -C 'I@nginx:server' state.sls nginx
24 node_name: {{ HOSTNAME_CFG01 }}
25 retry: {count: 1, delay: 5}
26 skip_fail: true
27
28- description: Install glance on all controllers
29 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
30 -C 'I@glance:server' state.sls glance -b 1
31 node_name: {{ HOSTNAME_CFG01 }}
32 retry: {count: 1, delay: 5}
33 skip_fail: false
34
35- description: Install keystone service (note that different fernet keys are created on different nodes)
36 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
37 -C 'I@keystone:server' state.sls keystone.server -b 1
38 node_name: {{ HOSTNAME_CFG01 }}
39 retry: {count: 2, delay: 15}
40 skip_fail: false
41
42- description: Restart apache due to PROD-10477
43 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl*' cmd.run "systemctl restart apache2"
44 node_name: {{ HOSTNAME_CFG01 }}
45 retry: {count: 1, delay: 15}
46 skip_fail: false
47
48- description: Check apache status to PROD-10477
49 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl*' cmd.run "systemctl status apache2"
50 node_name: {{ HOSTNAME_CFG01 }}
51 retry: {count: 1, delay: 15}
52 skip_fail: false
53
54- description: Mount glusterfs.client volumes (resuires created 'keystone' and 'glusterfs' system users)
55 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
56 -C 'I@glance:server' state.sls glusterfs.client
57 node_name: {{ HOSTNAME_CFG01 }}
58 retry: {count: 1, delay: 5}
59 skip_fail: false
60
61- description: Update fernet keys for keystone server on the mounted glusterfs volume
62 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
63 -C 'I@keystone:server' state.sls keystone.server -b 1
64 node_name: {{ HOSTNAME_CFG01 }}
65 retry: {count: 1, delay: 5}
66 skip_fail: false
67
68- description: Populate keystone services/tenants/admins
69 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
70 -C 'I@keystone:client' state.sls keystone.client
71 node_name: {{ HOSTNAME_CFG01 }}
72 retry: {count: 2, delay: 5}
73 skip_fail: false
74
75- description: Check keystone service-list
76 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
77 -C 'I@keystone:server' cmd.run '. /root/keystonercv3; openstack service list'
78 node_name: {{ HOSTNAME_CFG01 }}
79 retry: {count: 1, delay: 5}
80 skip_fail: false
81
82- description: Check glance image-list
83 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
84 -C 'I@keystone:server' cmd.run '. /root/keystonerc; glance image-list'
85 node_name: {{ HOSTNAME_CFG01 }}
86 retry: {count: 1, delay: 5}
87 skip_fail: false
88
89
90- description: Install nova on all controllers
91 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
92 -C 'I@nova:controller' state.sls nova -b 1
93 node_name: {{ HOSTNAME_CFG01 }}
94 retry: {count: 2, delay: 5}
95 skip_fail: false
96
97- description: Check nova service-list
98 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
99 -C 'I@keystone:server' cmd.run '. /root/keystonerc; nova --debug service-list'
100 node_name: {{ HOSTNAME_CFG01 }}
101 retry: {count: 3, delay: 5}
102 skip_fail: false
103
104
105- description: Install cinder
106 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
107 -C 'I@cinder:controller' state.sls cinder -b 1
108 node_name: {{ HOSTNAME_CFG01 }}
109 retry: {count: 1, delay: 5}
110 skip_fail: false
111
112- description: Check cinder list
113 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
114 -C 'I@keystone:server' cmd.run '. /root/keystonerc; cinder list'
115 node_name: {{ HOSTNAME_CFG01 }}
116 retry: {count: 1, delay: 5}
117 skip_fail: false
118
119
120- description: Install neutron service
121 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
122 -C 'I@neutron:server' state.sls neutron -b 1
123 node_name: {{ HOSTNAME_CFG01 }}
124 retry: {count: 1, delay: 5}
125 skip_fail: false
126
127- description: Install neutron on gtw node
128 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
129 -C 'I@neutron:gateway' state.sls neutron
130 node_name: {{ HOSTNAME_CFG01 }}
131 retry: {count: 1, delay: 5}
132 skip_fail: false
133
134## isntall designate
135#- description: Install bind
136# cmd: salt --hard-crash --state-output=mixed --state-verbose=False
137# -C 'I@bind:server' state.sls bind
138# node_name: {{ HOSTNAME_CFG01 }}
139# retry: {count: 1, delay: 5}
140# skip_fail: false
141#
142#- description: Install designate
143# cmd: salt --hard-crash --state-output=mixed --state-verbose=False
144# -C 'I@designate:server' state.sls designate -b 1
145# node_name: {{ HOSTNAME_CFG01 }}
146# retry: {count: 5, delay: 10}
147# skip_fail: false
148
149- description: Check neutron agent-list
150 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
151 -C 'I@keystone:server' cmd.run '. /root/keystonerc; neutron agent-list'
152 node_name: {{ HOSTNAME_CFG01 }}
153 retry: {count: 1, delay: 5}
154 skip_fail: false
155
156
157- description: Install heat service
158 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
159 -C 'I@heat:server' state.sls heat -b 1
160 node_name: {{ HOSTNAME_CFG01 }}
161 retry: {count: 1, delay: 5}
162 skip_fail: false
163
164- description: Check heat service
165 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
166 -C 'I@keystone:server' cmd.run '. /root/keystonercv3; openstack orchestration resource type list'
167 node_name: {{ HOSTNAME_CFG01 }}
168 retry: {count: 5, delay: 10}
169 skip_fail: false
170
171# Install Telemetry services (mdb nodes)
172- description: Install redis service
173 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@redis:cluster:role:master' state.sls redis &&
174 salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@redis:server' state.sls redis
175 node_name: {{ HOSTNAME_CFG01 }}
176 retry: {count: 1, delay: 5}
177 skip_fail: false
178
179- description: Install gnocchi server
180 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@gnocchi:server and *01*' state.sls gnocchi.server &&
181 salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@gnocchi:server' state.sls gnocchi.server
182 node_name: {{ HOSTNAME_CFG01 }}
183 retry: {count: 1, delay: 5}
184 skip_fail: false
185
186#- description: Install gnocchi statsd (optional)
187# cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@gnocchi:statsd and *01*' state.sls gnocchi.statsd &&
188# salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@gnocchi:statsd' state.sls gnocchi.statsd
189# node_name: {{ HOSTNAME_CFG01 }}
190# retry: {count: 1, delay: 5}
191# skip_fail: false
192
193- description: Install panko server
194 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@panko:server and *01*' state.sls panko &&
195 salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@panko:server' state.sls panko
196 node_name: {{ HOSTNAME_CFG01 }}
197 retry: {count: 1, delay: 5}
198 skip_fail: false
199
200- description: Install ceilometer server on first node
201 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@ceilometer:server and *01*' state.sls ceilometer
202 node_name: {{ HOSTNAME_CFG01 }}
203 retry: {count: 2, delay: 5}
204 skip_fail: false
205
206- description: Install ceilometer server on other nodes
207 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@ceilometer:server' state.sls ceilometer
208 node_name: {{ HOSTNAME_CFG01 }}
209 retry: {count: 2, delay: 5}
210 skip_fail: false
211
212- description: Install aodh server
213 cmd: salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@aodh:server and *01*' state.sls aodh &&
214 salt --hard-crash --state-output=mixed --state-verbose=False -C 'I@aodh:server' state.sls aodh
215 node_name: {{ HOSTNAME_CFG01 }}
216 retry: {count: 1, delay: 5}
217 skip_fail: false
218
219# Install OpenStack dashboard and proxy services
220- description: Deploy horizon dashboard
221 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
222 -C 'I@horizon:server' state.sls horizon
223 node_name: {{ HOSTNAME_CFG01 }}
224 retry: {count: 1, delay: 5}
225 skip_fail: true
226
227- description: Deploy nginx proxy
228 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
229 -C 'I@nginx:server' state.sls nginx
230 node_name: {{ HOSTNAME_CFG01 }}
231 retry: {count: 1, delay: 5}
232 skip_fail: true
233
234- description: Install manila-api on first node
235 cmd: |
236 salt -C 'I@manila:api and *01*' state.sls manila.api;
237 node_name: {{ HOSTNAME_CFG01 }}
238 retry: {count: 1, delay: 5}
239 skip_fail: false
240
241- description: Install manila-api on other nodes
242 cmd: |
243 salt -C 'I@manila:api and not *01*' state.sls manila.api;
244 node_name: {{ HOSTNAME_CFG01 }}
245 retry: {count: 1, delay: 5}
246 skip_fail: false
247
248- description: Install manila-scheduler
249 cmd: |
250 salt -C 'I@manila:scheduler' state.sls manila.scheduler;
251 node_name: {{ HOSTNAME_CFG01 }}
252 retry: {count: 1, delay: 5}
253 skip_fail: false
254
255- description: Install manila-share
256 cmd: |
257 salt -C 'I@manila:share' state.sls manila.share;
258 node_name: {{ HOSTNAME_CFG01 }}
259 retry: {count: 1, delay: 5}
260 skip_fail: false
261
262- description: Temporary WR for CIFS type. (Fixed in this patch https://gerrit.mcp.mirantis.net/#/c/17727/)
263 cmd: |
264 salt -C 'I@manila:share' cmd.run 'apt-get install samba -y';
265 salt -C 'I@manila:share' cmd.run 'service manila-share restart';
266 node_name: {{ HOSTNAME_CFG01 }}
267 retry: {count: 1, delay: 5}
268 skip_fail: true
269
270- description: Check manila-services
271 cmd: |
272 salt 'ctl01*' cmd.run '. /root/keystonercv3; manila service-list'
273 node_name: {{ HOSTNAME_CFG01 }}
Oleksii Butenko3deb90e2018-04-06 15:34:38 +0300274 retry: {count: 3, delay: 5}
Tatyana Leontovich50e62dd2018-03-28 20:59:52 +0300275 skip_fail: false
276
277- description: Create manila type
278 cmd: |
279 salt 'ctl01*' cmd.run '. /root/keystonercv3; manila type-create default False --is_public True'
280 node_name: {{ HOSTNAME_CFG01 }}
281 retry: {count: 1, delay: 5}
282 skip_fail: false
283
284- description: Create CIFS share and check it status
285 cmd: |
286 salt 'ctl01*' cmd.run '. /root/keystonercv3; manila create CIFS 1 --share-type=default; sleep 5; manila list';
287 node_name: {{ HOSTNAME_CFG01 }}
288 retry: {count: 1, delay: 5}
289 skip_fail: false
290
291# Install DogTag server service
292- description: Install DogTag server service
293 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
294 -C 'I@dogtag:server and *01*' state.sls dogtag.server
295 node_name: {{ HOSTNAME_CFG01 }}
296 retry: {count: 1, delay: 5}
297 skip_fail: false
298
299- description: Install DogTag server service
300 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
301 -C 'I@dogtag:server' state.sls dogtag.server
302 node_name: {{ HOSTNAME_CFG01 }}
303 retry: {count: 1, delay: 5}
304 skip_fail: false
305
306# Install Barbican server service
307- description: Install Barbican server service
308 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
309 -C 'I@barbican:server and *01*' state.sls barbican.server
310 node_name: {{ HOSTNAME_CFG01 }}
311 retry: {count: 1, delay: 5}
312 skip_fail: false
313
314- description: Install Barbican server service
315 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
316 -C 'I@barbican:server' state.sls barbican.server
317 node_name: {{ HOSTNAME_CFG01 }}
318 retry: {count: 1, delay: 5}
319 skip_fail: false
320
321- description: Install Barbican client
322 cmd: salt --hard-crash --state-output=mixed --state-verbose=False
323 -C 'I@barbican:client' state.sls barbican.client
324 node_name: {{ HOSTNAME_CFG01 }}
325 retry: {count: 1, delay: 5}
326 skip_fail: True
327
328# Install compute node
329
330- description: Apply formulas for compute node
331 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'cmp*' state.apply
332 node_name: {{ HOSTNAME_CFG01 }}
333 retry: {count: 1, delay: 5}
334 skip_fail: true
335
336- description: Re-apply(as in doc) formulas for compute node
337 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'cmp*' state.apply
338 node_name: {{ HOSTNAME_CFG01 }}
339 retry: {count: 1, delay: 5}
340 skip_fail: false
341
342- description: Check IP on computes
343 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'cmp*' cmd.run
344 'ip a'
345 node_name: {{ HOSTNAME_CFG01 }}
346 retry: {count: 10, delay: 30}
347 skip_fail: false
348
349# Configure cinder-volume salt-call
350#- description: Set disks 01
351# cmd: salt-call cmd.run 'echo -e "nn\np\n\n\n\nw" | fdisk /dev/vdb'
352# node_name: {{ HOSTNAME_CTL01 }}
353# retry: {count: 1, delay: 30}
354# skip_fail: false
355#
356#- description: Set disks 02
357# cmd: salt-call cmd.run 'echo -e "nn\np\n\n\n\nw" | fdisk /dev/vdb'
358# node_name: {{ HOSTNAME_CTL02 }}
359# retry: {count: 1, delay: 30}
360# skip_fail: false
361#
362#- description: Set disks 03
363# cmd: salt-call cmd.run 'echo -e "nn\np\n\n\n\nw" | fdisk /dev/vdb'
364# node_name: {{ HOSTNAME_CTL03 }}
365# retry: {count: 1, delay: 30}
366# skip_fail: false
367#
368#- description: Create partitions 01
369# cmd: salt-call cmd.run 'pvcreate /dev/vdb1'
370# node_name: {{ HOSTNAME_CTL01 }}
371# retry: {count: 1, delay: 30}
372# skip_fail: false
373#
374#- description: Create partitions 02
375# cmd: salt-call cmd.run 'pvcreate /dev/vdb1'
376# node_name: {{ HOSTNAME_CTL02 }}
377# retry: {count: 1, delay: 30}
378# skip_fail: false
379#
380#- description: Create partitions 03
381# cmd: salt-call cmd.run 'pvcreate /dev/vdb1'
382# node_name: {{ HOSTNAME_CTL03 }}
383# retry: {count: 1, delay: 30}
384# skip_fail: false
385#
386#- description: create volume_group
387# cmd: salt "ctl*" cmd.run 'vgcreate cinder-volumes /dev/vdb1'
388# node_name: {{ HOSTNAME_CFG01 }}
389# retry: {count: 1, delay: 30}
390# skip_fail: false
391#
392#- description: Install cinder-volume
393# cmd: salt 'ctl*' cmd.run 'apt-get install cinder-volume -y'
394# node_name: {{ HOSTNAME_CFG01 }}
395# retry: {count: 1, delay: 30}
396# skip_fail: false
397#
398#- description: Install crudini
399# cmd: salt "ctl*" cmd.run 'apt-get install crudini -y'
400# node_name: {{ HOSTNAME_CFG01 }}
401# retry: {count: 1, delay: 30}
402# skip_fail: false
403#
404#- description: Temporary WR set enabled backends value 01
405# cmd: salt-call cmd.run 'crudini --verbose --set /etc/cinder/cinder.conf DEFAULT enabled_backends lvm'
406# node_name: {{ HOSTNAME_CTL01 }}
407# retry: {count: 1, delay: 30}
408# skip_fail: false
409#
410#- description: Temporary WR set enabled backends value 02
411# cmd: salt-call cmd.run 'crudini --verbose --set /etc/cinder/cinder.conf DEFAULT enabled_backends lvm'
412# node_name: {{ HOSTNAME_CTL02 }}
413# retry: {count: 1, delay: 30}
414# skip_fail: false
415#
416#- description: Temporary WR set enabled backends value 03
417# cmd: salt-call cmd.run 'crudini --verbose --set /etc/cinder/cinder.conf DEFAULT enabled_backends lvm'
418# node_name: {{ HOSTNAME_CTL03 }}
419# retry: {count: 1, delay: 30}
420# skip_fail: false
421#
422#- description: Restart cinder volume
423# cmd: |
424# salt -C 'I@cinder:controller' service.restart cinder-volume;
425# node_name: {{ HOSTNAME_CFG01 }}
426# retry: {count: 2, delay: 5}
427# skip_fail: false
428#
429- description: Upload cirros image on ctl01
430 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
431 'wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-i386-disk.img'
432 node_name: {{ HOSTNAME_CFG01 }}
433 retry: {count: 2, delay: 30}
434 skip_fail: false
435
436- description: Create net04_external
437 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
438 '. /root/keystonercv3; neutron net-create net04_ext --router:external True --provider:physical_network physnet1 --provider:network_type flat'
439 node_name: {{ HOSTNAME_CFG01 }}
440 retry: {count: 1, delay: 30}
441 skip_fail: false
442
443- description: Create subnet_external
444 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
445 '. /root/keystonercv3; neutron subnet-create net04_ext {{ IPV4_NET_EXTERNAL_PREFIX }}.0/24 --name net04_ext__subnet --disable-dhcp --allocation-pool start={{ IPV4_NET_EXTERNAL_PREFIX }}.150,end={{ IPV4_NET_EXTERNAL_PREFIX }}.180 --gateway {{ IPV4_NET_EXTERNAL_PREFIX }}.1'
446 node_name: {{ HOSTNAME_CFG01 }}
447 retry: {count: 1, delay: 30}
448 skip_fail: false
449
450- description: Create net04
451 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
452 '. /root/keystonercv3; neutron net-create net04'
453 node_name: {{ HOSTNAME_CFG01 }}
454 retry: {count: 1, delay: 30}
455 skip_fail: false
456
457- description: Create subnet_net04
458 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
459 '. /root/keystonercv3; neutron subnet-create net04 {{ IPV4_NET_TENANT_PREFIX }}.0/24 --name net04__subnet --allocation-pool start={{ IPV4_NET_TENANT_PREFIX }}.120,end={{ IPV4_NET_TENANT_PREFIX }}.240'
460 node_name: {{ HOSTNAME_CFG01 }}
461 retry: {count: 1, delay: 30}
462 skip_fail: false
463
464- description: Create router
465 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
466 '. /root/keystonercv3; neutron router-create net04_router01'
467 node_name: {{ HOSTNAME_CFG01 }}
468 retry: {count: 1, delay: 30}
469 skip_fail: false
470
471- description: Set geteway
472 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
473 '. /root/keystonercv3; neutron router-gateway-set net04_router01 net04_ext'
474 node_name: {{ HOSTNAME_CFG01 }}
475 retry: {count: 1, delay: 30}
476 skip_fail: false
477
478- description: Add interface
479 cmd: salt --hard-crash --state-output=mixed --state-verbose=False 'ctl01*' cmd.run
480 '. /root/keystonercv3; neutron router-interface-add net04_router01 net04__subnet'
481 node_name: {{ HOSTNAME_CFG01 }}
482 retry: {count: 1, delay: 30}
483 skip_fail: false
484
485- description: sync time
486 cmd: salt --hard-crash --state-output=mixed --state-verbose=False '*' cmd.run
487 'service ntp stop; ntpd -gq; service ntp start'
488 node_name: {{ HOSTNAME_CFG01 }}
489 retry: {count: 1, delay: 30}
490 skip_fail: false
491
492- description: Enable local docker repo
493 cmd: |
494 set -e;
495 echo "{{ DOCKER_LOCAL_REPO }}" > /etc/apt/sources.list.d/mcp_docker.list;
496 apt-get clean; apt-get update;
497 node_name: {{ HOSTNAME_GTW01 }}
498 retry: {count: 1, delay: 30}
499 skip_fail: false
500
501- description: Install docker-ce on gtw
502 cmd: salt-call cmd.run 'apt-get install docker-ce -y'
503 node_name: {{ HOSTNAME_GTW01 }}
504 retry: {count: 1, delay: 30}
505 skip_fail: false
506
507- description: Enable forward policy on gtw
508 cmd: |
509 set -e;
510 iptables --policy FORWARD ACCEPT;
511 node_name: {{ HOSTNAME_GTW01 }}
512 retry: {count: 1, delay: 30}
513 skip_fail: false
514
515- description: create rc file on cfg
516 cmd: scp ctl01:/root/keystonercv3 /root
517 node_name: {{ HOSTNAME_CFG01 }}
518 retry: {count: 1, delay: 30}
519 skip_fail: false
520
521- description: Copy rc file
522 cmd: scp /root/keystonercv3 gtw01:/root
523 node_name: {{ HOSTNAME_CFG01 }}
524 retry: {count: 1, delay: 30}
525 skip_fail: false