summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2017-07-19 15:56:33 -0400
committerAndrew Butcher <abutcher@redhat.com>2017-07-19 15:56:33 -0400
commited274e2d034da6e2dff8d88c0cedb2a89f20ccb9 (patch)
tree7f87a32a8caa5a95c08b3d5ea6518ae70c14de9f /roles
parent8e2be54c6f2f55368f33667a68a5693dc75b1027 (diff)
downloadopenshift-ed274e2d034da6e2dff8d88c0cedb2a89f20ccb9.tar.gz
openshift-ed274e2d034da6e2dff8d88c0cedb2a89f20ccb9.tar.bz2
openshift-ed274e2d034da6e2dff8d88c0cedb2a89f20ccb9.tar.xz
openshift-ed274e2d034da6e2dff8d88c0cedb2a89f20ccb9.zip
Add etcd exports to openshift_storage_nfs
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_storage_nfs/tasks/main.yml2
-rw-r--r--roles/openshift_storage_nfs/templates/exports.j21
2 files changed, 2 insertions, 1 deletions
diff --git a/roles/openshift_storage_nfs/tasks/main.yml b/roles/openshift_storage_nfs/tasks/main.yml
index 0d6b8b7d4..019ada2fb 100644
--- a/roles/openshift_storage_nfs/tasks/main.yml
+++ b/roles/openshift_storage_nfs/tasks/main.yml
@@ -30,7 +30,7 @@
- "{{ openshift.hosted.metrics }}"
- "{{ openshift.hosted.logging }}"
- "{{ openshift.hosted.loggingops }}"
-
+ - "{{ openshift.hosted.etcd }}"
- name: Configure exports
template:
diff --git a/roles/openshift_storage_nfs/templates/exports.j2 b/roles/openshift_storage_nfs/templates/exports.j2
index 8c6d4105c..7e8f70b23 100644
--- a/roles/openshift_storage_nfs/templates/exports.j2
+++ b/roles/openshift_storage_nfs/templates/exports.j2
@@ -2,3 +2,4 @@
{{ openshift.hosted.metrics.storage.nfs.directory }}/{{ openshift.hosted.metrics.storage.volume.name }} {{ openshift.hosted.metrics.storage.nfs.options }}
{{ openshift.hosted.logging.storage.nfs.directory }}/{{ openshift.hosted.logging.storage.volume.name }} {{ openshift.hosted.logging.storage.nfs.options }}
{{ openshift.hosted.loggingops.storage.nfs.directory }}/{{ openshift.hosted.loggingops.storage.volume.name }} {{ openshift.hosted.loggingops.storage.nfs.options }}
+{{ openshift.hosted.etcd.storage.nfs.directory }}/{{ openshift.hosted.etcd.storage.volume.name }} {{ openshift.hosted.etcd.storage.nfs.options }}