summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks
diff options
context:
space:
mode:
authorSanjeev Rampal <srampal@cisco.com>2017-07-27 19:28:46 -0700
committerSanjeev Rampal <srampal@cisco.com>2017-07-27 20:15:50 -0700
commitb71f2782028ce7cf56614780a87faca31b9e42ac (patch)
tree89ebb95090a39db84051d44265ee070b0780136d /roles/contiv/tasks
parent1cd89648269a483d464caef3f700b10cf68ea1c4 (diff)
downloadopenshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.gz
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.bz2
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.tar.xz
openshift-b71f2782028ce7cf56614780a87faca31b9e42ac.zip
Fixes for auth_proxy, vxlan mode
Diffstat (limited to 'roles/contiv/tasks')
-rw-r--r--roles/contiv/tasks/netmaster.yml12
1 files changed, 12 insertions, 0 deletions
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