Fix nfs on nodes does not install nfs packages
Issue-ID: OOM-1640
Change-Id: Ieb8d736e543d58facb9a84c3366c5b15418e17d2
Signed-off-by: Milan Verespej <m.verespej@partner.samsung.com>
diff --git a/ansible/roles/nfs/tasks/main.yml b/ansible/roles/nfs/tasks/main.yml
index 32194d1..aca1771 100644
--- a/ansible/roles/nfs/tasks/main.yml
+++ b/ansible/roles/nfs/tasks/main.yml
@@ -5,6 +5,12 @@
state: directory
mode: 0777
+- name: Install nfs packages
+ package:
+ name: "{{ item }}"
+ state: present
+ with_items: "{{ nfs_packages[ansible_os_family] }}"
+
- name: Setup nfs server
block:
- name: Start services