summaryrefslogtreecommitdiffstats
path: root/roles/contiv/tasks/netmaster.yml
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-07-31 09:20:53 -0400
committerGitHub <noreply@github.com>2017-07-31 09:20:53 -0400
commit17f700a35653f549528507f3ce587be95311d61f (patch)
treebfdf8395fd451bd87fd56dbcaf868221bdbc5da1 /roles/contiv/tasks/netmaster.yml
parent3be2748d87f7eda17ed8cec496bbbd11b311b076 (diff)
parentb71f2782028ce7cf56614780a87faca31b9e42ac (diff)
downloadopenshift-17f700a35653f549528507f3ce587be95311d61f.tar.gz
openshift-17f700a35653f549528507f3ce587be95311d61f.tar.bz2
openshift-17f700a35653f549528507f3ce587be95311d61f.tar.xz
openshift-17f700a35653f549528507f3ce587be95311d61f.zip
Merge pull request #4919 from srampal/contiv_1.1.1
Some automation fixes for contiv GUI/auth_proxy & vxlan mode
Diffstat (limited to 'roles/contiv/tasks/netmaster.yml')
-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