b6fd1291cf
Add timestamps to logs of multinode scripts, need this for indexing in openstack ELK. Change-Id: I8ded69e12aa82ff488668079d48f1f837ac802d9
19 lines
573 B
YAML
19 lines
573 B
YAML
---
|
|
- name: Copy instackenv.json to undercloud
|
|
copy:
|
|
src: "{{ local_working_dir }}/nodes.json"
|
|
dest: "{{ working_dir }}/instackenv.json"
|
|
|
|
- name: Copy over setup undercloud connectivity script template
|
|
template:
|
|
src: ovb-undercloud-connectivity.sh.j2
|
|
dest: "{{ working_dir }}/ovb-undercloud-connectivity.sh"
|
|
mode: 0755
|
|
|
|
- name: Setup interfaces, connectivity on the undercloud
|
|
become: yes
|
|
shell: >
|
|
set -o pipefail &&
|
|
{{ working_dir }}/ovb-undercloud-connectivity.sh 2>&1 {{ timestamper_cmd }} >
|
|
{{ ovb_undercloud_connectivity_log }}
|