summaryrefslogtreecommitdiffstats
path: root/ansible/roles/nfs/tasks
diff options
context:
space:
mode:
authorMilan Verespej <m.verespej@partner.samsung.com>2019-02-13 12:53:51 +0100
committerTomáš Levora <t.levora@partner.samsung.com>2019-02-14 11:12:43 +0100
commit09b5d95763b2e80de02b949e7fb138f887cb0dea (patch)
tree013a67079605d352fba8dfacaff66bdf5f6aa845 /ansible/roles/nfs/tasks
parent8063d1a15de138bbeff98fc8b48c78154ada8717 (diff)
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>
Diffstat (limited to 'ansible/roles/nfs/tasks')
-rw-r--r--ansible/roles/nfs/tasks/main.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible/roles/nfs/tasks/main.yml b/ansible/roles/nfs/tasks/main.yml
index 32194d13..aca1771f 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