Removed -e Docker flag in ovsdpdk task

Replaced the use of the -e flag in ovs-dpdk handler

Change-Id: I3455fc284b455283774b427ca1fec7acfa8c5b91
Closes-Bug: #1734944
This commit is contained in:
Benjamin Diaz 2017-11-28 15:32:07 -03:00
parent e57944b6fe
commit 6bf24be524

View File

@ -40,7 +40,7 @@
vars: vars:
service_name: "ovsdpdk-db" service_name: "ovsdpdk-db"
service: "{{ ovsdpdk_services[service_name] }}" service: "{{ ovsdpdk_services[service_name] }}"
command: "docker exec -e \"CONFIG_FILE={{ container_config_directory }}/ovs-dpdkctl.conf\" {{ service.container_name }} {{ container_config_directory }}/ovs-dpdkctl.sh init" command: "docker exec {{ service.container_name }} /bin/sh -c 'CONFIG_FILE={{ container_config_directory }}/ovs-dpdkctl.conf {{ container_config_directory }}/ovs-dpdkctl.sh init'"
register: status register: status
changed_when: status.stdout.find('changed') != -1 changed_when: status.stdout.find('changed') != -1
when: when:
@ -77,7 +77,7 @@
vars: vars:
service_name: "ovsdpdk-db" service_name: "ovsdpdk-db"
service: "{{ ovsdpdk_services[service_name] }}" service: "{{ ovsdpdk_services[service_name] }}"
command: "docker exec -e \"CONFIG_FILE={{ container_config_directory }}/ovs-dpdkctl.conf\" {{ service.container_name }} {{ container_config_directory }}/ovs-dpdkctl.sh init" command: "docker exec {{ service.container_name }} /bin/sh -c 'CONFIG_FILE={{ container_config_directory }}/ovs-dpdkctl.conf {{ container_config_directory }}/ovs-dpdkctl.sh init'"
register: status register: status
changed_when: status.stdout.find('changed') != -1 changed_when: status.stdout.find('changed') != -1
when: when: