[CORD-2138] change ansible-playbook files due to the change of scenario and add build process
Change-Id: Ie0841a245efbc820d3c9661435de48dbc2b22441
(cherry picked from commit 6d66759d4b237d848e16e4e13c7e4b68fe334bdf)
diff --git a/xos/synchronizer/steps/vspgwctenant_playbook.yaml b/xos/synchronizer/steps/vspgwctenant_playbook.yaml
index 818ef6a..9fc240a 100644
--- a/xos/synchronizer/steps/vspgwctenant_playbook.yaml
+++ b/xos/synchronizer/steps/vspgwctenant_playbook.yaml
@@ -14,12 +14,14 @@
---
- hosts: {{ instance_name }}
- gather_facts: True
+ gather_facts: False
connection: ssh
- user: ubuntu
- sudo: yes
+ remote_user: ubuntu
+ become: yes
+ become_user: root
+ become_method: sudo
vars:
- - source_path: /var/tmp/config
+ - source_path: /root/ngic
- zmq_sub_ip: {{ zmq_sub_ip }}
- zmq_pub_ip: {{ zmq_pub_ip }}
- dp_comm_ip: {{ dp_comm_ip }}
@@ -30,6 +32,6 @@
- s11_mme_ip: {{ s11_mme_ip }}
- s1u_sgw_ip: {{ s1u_sgw_ip }}
- scenario: {{ scenario }}
+
roles:
- interface_config
-