[CORD-2553] update playbook according to new spgwc image
Change-Id: Ibefa140c20b892879ffa3c116e5c14d470c8d2d8
diff --git a/xos/synchronizer/steps/vspgwctenant_playbook.yaml b/xos/synchronizer/steps/vspgwctenant_playbook.yaml
index fc42ef6..2beb699 100644
--- a/xos/synchronizer/steps/vspgwctenant_playbook.yaml
+++ b/xos/synchronizer/steps/vspgwctenant_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 }}
@@ -38,24 +39,15 @@
- ip_addr_pool: "16.0.0.0"
- ip_pool_mask: "255.0.0.0"
- ip_pool_mask_int: "8"
+ - cord_version: {{ cord_version }}
roles:
- - interface_config
- - build_and_run
+ - { 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" }
- hosts: localhost
vars:
- - source_path: /root/ngic
- - zmq_sub_ip: {{ zmq_sub_ip }}
- - zmq_pub_ip: {{ zmq_pub_ip }}
- - dp_comm_ip: {{ dp_comm_ip }}
- - cp_comm_ip: {{ cp_comm_ip }}
- - fpc_ip: {{ fpc_ip }}
- - cp_nb_server_ip: {{ cp_nb_server_ip }}
- - s11_sgw_ip: {{ s11_sgw_ip }}
- - s11_mme_ip: {{ s11_mme_ip }}
- - s1u_sgw_ip: {{ s1u_sgw_ip }}
- - scenario: {{ scenario }}
- - cpu_hexacode: "0x0e"
- sgi_as_ip: {{ sgi_as_ip }}
- sgi_spgwu_ip: {{ sgi_spgwu_ip }}
- ip_addr_pool: "16.0.0.0"