diff options
author | Sanjeev Rampal <srampal@cisco.com> | 2017-07-27 19:28:46 -0700 |
---|---|---|
committer | Sanjeev Rampal <srampal@cisco.com> | 2017-07-27 20:15:50 -0700 |
commit | b71f2782028ce7cf56614780a87faca31b9e42ac (patch) | |
tree | 89ebb95090a39db84051d44265ee070b0780136d /roles/contiv/tasks | |
parent | 1cd89648269a483d464caef3f700b10cf68ea1c4 (diff) | |
download | openshift-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.yml | 12 |
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 |