Skip to content

Commit

Permalink
extract netctl binary early for v2plugin
Browse files Browse the repository at this point in the history
v2plugin started requiring netctl and ansible was starting the plugin
prior to the extraction of the netctl binary.

This issue is fixed already in master but this is for the 1.1 series

Signed-off-by: Chris Plock <chrisplo@cisco.com>
  • Loading branch information
chrisplo committed Jan 2, 2018
1 parent 8e20f56 commit 2622719
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions roles/contiv_network/tasks/v2plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
---
# This role contains tasks for starting docker plugin service

- name: for v2 plugin, extract netctl binary
shell: tar vxjf {{ contiv_network_dest_file }} netctl contrib/completion/bash/netctl
args:
chdir: /usr/bin/contiv/netplugin

- name: create the directories needed for ovs
shell: mkdir -p {{ item }}
with_items:
Expand All @@ -25,8 +30,3 @@

- name: start v2plugin
systemd: name=v2plugin enabled=yes

- name: for v2 plugin, extract netctl binary
shell: tar vxjf {{ contiv_network_dest_file }} netctl contrib/completion/bash/netctl
args:
chdir: /usr/bin/contiv/netplugin

0 comments on commit 2622719

Please # to comment.