Files
tripleo-quickstart-extras/roles/undercloud-setup/tasks/toci_vxlan_networking.yml
Sagi Shnaidman 0de40307b8 Fix ansible linter issues for undercloud-setup
Change-Id: Ib5f00413d04f0b720ec291cef34f000ffde439af
2020-01-05 13:59:21 +00:00

29 lines
978 B
YAML

---
- name: Install the TripleO-CI VXLAN networking script on subnodes
template:
src: toci_vxlan_networking_multinode.sh.j2
dest: "{{ working_dir }}/toci_vxlan_networking_multinode.sh"
mode: 0755
when: toci_vxlan_networking_multinode|bool
- name: Run the TripleO-CI VXLAN networking script on subnodes
shell: >
set -o pipefail &&
timeout --preserve-status 60s {{ working_dir }}/toci_vxlan_networking_multinode.sh
2>&1 {{ timestamper_cmd }} > {{ working_dir }}/toci_vxlan_networking_multinode.sh.log
when: toci_vxlan_networking_multinode|bool
- name: Install the TripleO-CI VXLAN networking script
copy:
src: toci_vxlan_networking.sh
dest: "{{ working_dir }}/toci_vxlan_networking.sh"
mode: 0755
- name: Run the TripleO-CI VXLAN networking script
shell: >
set -o pipefail &&
{{ working_dir }}/toci_vxlan_networking.sh
2>&1 {{ timestamper_cmd }} > {{ working_dir }}/toci_vxlan_networking.sh.log
changed_when: true