[CORD-2554] update playbook according to new spgwu image
Change-Id: I0333d966025213f3115a4b928daf11d8f80d427e
diff --git a/xos/synchronizer/steps/vspgwutenant_playbook.yaml b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
index 0d0a429..f04a5b4 100644
--- a/xos/synchronizer/steps/vspgwutenant_playbook.yaml
+++ b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
@@ -21,7 +21,8 @@
become_user: root
become_method: sudo
vars:
- - source_path: /root/ngic
+ - source_path_4_1: /root/ngic
+ - source_path_5_0: /home/ngic/ngic
- zmq_sub_ip: {{ zmq_sub_ip }}
- zmq_pub_ip: {{ zmq_pub_ip }}
- dp_comm_ip: {{ dp_comm_ip }}
@@ -35,9 +36,12 @@
- as_sgi_mac: {{ as_sgi_mac }}
- enb_s1u_ip: {{ enb_s1u_ip }}
- enb_s1u_mac: {{ enb_s1u_mac }}
+ - cord_version: {{ cord_version }}
roles:
- - interface_config
- #- build_and_run #Temporally comment out until epc-service is completed.
+ - { role: interface_config_4_1, when: cord_version == "4.1" }
+ - { role: build_and_run_4_1, when: cord_version == "4.1" }
+ - { role: interface_config_5_0, when: cord_version == "5.0" }
+ - { role: build_and_run_5_0, when: cord_version == "5.0" }