summaryrefslogtreecommitdiffstats
path: root/roles/kube_nfs_volumes/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/kube_nfs_volumes/tasks/main.yml')
-rw-r--r--roles/kube_nfs_volumes/tasks/main.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/roles/kube_nfs_volumes/tasks/main.yml b/roles/kube_nfs_volumes/tasks/main.yml
index 5eff30f6f..67f709c8c 100644
--- a/roles/kube_nfs_volumes/tasks/main.yml
+++ b/roles/kube_nfs_volumes/tasks/main.yml
@@ -4,7 +4,10 @@
when: openshift.common.is_atomic | bool
- name: Install pyparted (RedHat/Fedora)
- action: "{{ ansible_pkg_mgr }} name=pyparted,python-httplib2 state=present"
+ package: name={{ item }} state=present
+ with_items:
+ - pyparted
+ - python-httplib2
when: not openshift.common.is_containerized | bool
- name: partition the drives