summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-nfs/tasks/main.yml
diff options
context:
space:
mode:
authorMarkos Chandras <mchandras@suse.de>2017-09-04 14:48:24 +0100
committerMarkos Chandras <mchandras@suse.de>2017-09-17 22:42:51 +0100
commit725e250ad2d36697487df629002a7caa7114c6d3 (patch)
tree0624f1317a52b2168589f80cfeb24b9848a92d1c /xci/playbooks/roles/configure-nfs/tasks/main.yml
parent86957779957b9c0d6013c6f22fbc2bc288cb5a7c (diff)
xci: configure-nfs: Install the NFS server package
We need to explicitly install the nfs server package instead of bundling it to the dib image since not every node needs it. Change-Id: I73f59f4ed582359df80ea08712b433537c087aea Signed-off-by: Markos Chandras <mchandras@suse.de>
Diffstat (limited to 'xci/playbooks/roles/configure-nfs/tasks/main.yml')
-rw-r--r--xci/playbooks/roles/configure-nfs/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/xci/playbooks/roles/configure-nfs/tasks/main.yml b/xci/playbooks/roles/configure-nfs/tasks/main.yml
index df33e52f..25e81496 100644
--- a/xci/playbooks/roles/configure-nfs/tasks/main.yml
+++ b/xci/playbooks/roles/configure-nfs/tasks/main.yml
@@ -43,6 +43,12 @@
with_items:
- "/images *(rw,sync,no_subtree_check,no_root_squash)"
- "/volumes *(rw,sync,no_subtree_check,no_root_squash)"
+
+- name: Install the NFS server package
+ package:
+ name: "{{ nfs_server_package }}"
+ state: latest
+
- name: restart NFS service
service:
name: "{{ nfs_server_service }}"