summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-nfs/tasks/main.yml
diff options
context:
space:
mode:
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 }}"