From b71f2782028ce7cf56614780a87faca31b9e42ac Mon Sep 17 00:00:00 2001 From: Sanjeev Rampal Date: Thu, 27 Jul 2017 19:28:46 -0700 Subject: Fixes for auth_proxy, vxlan mode --- roles/contiv/tasks/netmaster.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'roles/contiv/tasks/netmaster.yml') diff --git a/roles/contiv/tasks/netmaster.yml b/roles/contiv/tasks/netmaster.yml index acaf7386e..cc52d3a43 100644 --- a/roles/contiv/tasks/netmaster.yml +++ b/roles/contiv/tasks/netmaster.yml @@ -41,6 +41,18 @@ mode: 0644 notify: restart netmaster +- name: Netmaster | Ensure contiv_config_dir exists + file: + path: "{{ contiv_config_dir }}" + recurse: yes + state: directory + +- name: Netmaster | Setup contiv.json config for the cni plugin + template: + src: contiv.cfg.master.j2 + dest: "{{ contiv_config_dir }}/contiv.json" + notify: restart netmaster + - name: Netmaster | Copy systemd units for netmaster template: src: netmaster.service -- cgit v1.2.3