summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-nfs
diff options
context:
space:
mode:
Diffstat (limited to 'xci/playbooks/roles/configure-nfs')
-rw-r--r--xci/playbooks/roles/configure-nfs/tasks/main.yml2
-rw-r--r--xci/playbooks/roles/configure-nfs/vars/suse.yml11
2 files changed, 12 insertions, 1 deletions
diff --git a/xci/playbooks/roles/configure-nfs/tasks/main.yml b/xci/playbooks/roles/configure-nfs/tasks/main.yml
index 51a2d43a..df33e52f 100644
--- a/xci/playbooks/roles/configure-nfs/tasks/main.yml
+++ b/xci/playbooks/roles/configure-nfs/tasks/main.yml
@@ -43,7 +43,7 @@
with_items:
- "/images *(rw,sync,no_subtree_check,no_root_squash)"
- "/volumes *(rw,sync,no_subtree_check,no_root_squash)"
-- name: restart ubuntu xenial NFS service
+- name: restart NFS service
service:
name: "{{ nfs_server_service }}"
state: restarted
diff --git a/xci/playbooks/roles/configure-nfs/vars/suse.yml b/xci/playbooks/roles/configure-nfs/vars/suse.yml
new file mode 100644
index 00000000..c60cafa5
--- /dev/null
+++ b/xci/playbooks/roles/configure-nfs/vars/suse.yml
@@ -0,0 +1,11 @@
+---
+# SPDX-license-identifier: Apache-2.0
+##############################################################################
+# Copyright (c) 2017 Ericsson AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+nfs_server_service: "nfs-server"