nfs.yml 596 B

123456789101112131415161718
  1. ---
  2. - name: Install NFS storage plugin dependencies
  3. action: "{{ ansible_pkg_mgr }} name=nfs-utils state=present"
  4. when: not openshift.common.is_atomic | bool
  5. - name: Set seboolean to allow nfs storage plugin access from containers
  6. seboolean:
  7. name: virt_use_nfs
  8. state: yes
  9. persistent: yes
  10. when: ansible_selinux and ansible_selinux.status == "enabled"
  11. - name: Set seboolean to allow nfs storage plugin access from containers(sandbox)
  12. seboolean:
  13. name: virt_sandbox_use_nfs
  14. state: yes
  15. persistent: yes
  16. when: ansible_selinux and ansible_selinux.status == "enabled"