Browse Source

Update configure_mngmnt_network_container.yml

Signed-off-by: Shubhangi-dell <shubhangi_srivastava@dell.com>
Shubhangi-dell 3 years ago
parent
commit
f73cf8dc55

+ 2 - 2
control_plane/roles/control_plane_device/tasks/configure_mngmnt_network_container.yml

@@ -32,7 +32,7 @@
 
 - name: Configuring mngmnt_network container
   command: 'kubectl exec --stdin --tty -n network-config {{ mngmnt_network_pod_name.stdout }} \
-    -- ansible-playbook /root/mngmnt_container_configure.yml'
+    -- ansible-playbook /root/mngmnt_container_configure.yml -e mngmnt_nic="{{ mngmnt_network_nic }}"'
   changed_when: false
   tags: install
   when: not mngmnt_network_container_status
@@ -43,4 +43,4 @@
     state: absent
   with_items:
     - "{{ role_path }}/files/dhcpd.conf"
-    - "{{ role_path }}/files/temp_mgmt_mapping_file.csv.bak"
+    - "{{ role_path }}/files/temp_mgmt_mapping_file.csv.bak"