[CORD-1977] add ansible-playbook file to make interface.cfg and dp_config.cfg files and to build it
Change-Id: Ifa58ef6e414ff63e6c8006dc6c9a312cbb626069
(cherry picked from commit 0e147402f29a3719d5a34635897563aaf71747c6)
diff --git a/xos/synchronizer/steps/vspgwutenant_playbook.yaml b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
index 05c13c1..b15a985 100644
--- a/xos/synchronizer/steps/vspgwutenant_playbook.yaml
+++ b/xos/synchronizer/steps/vspgwutenant_playbook.yaml
@@ -14,10 +14,24 @@
---
- hosts: {{ instance_name }}
- gather_facts: False
+ gather_facts: False
connection: ssh
- user: ubuntu
- sudo: yes
- tasks:
+ remote_user: ubuntu
+ become: yes
+ become_user: root
+ become_method: sudo
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 }}
+ - s1u_ip: {{ s1u_ip }}
+ - sgi_ip: {{ sgi_ip }}
+ - scenario: {{ scenario }}
+
+ roles:
+ - interface_config
+