summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/storage_plugins/nfs.yml
blob: 14a6137864531ba311750828498f197cabbc83c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
---
- name: Install NFS storage plugin dependencies
  action: "{{ ansible_pkg_mgr }} name=nfs-utils state=present"
  when: not openshift.common.is_atomic | bool

- name: Set seboolean to allow nfs storage plugin access from containers
  seboolean:
    name: virt_use_nfs
    state: yes
    persistent: yes
  when: ansible_selinux and ansible_selinux.status == "enabled"