community / community.general / 0.1.4 / module / infini_export Create, Delete or Modify NFS Exports on Infinibox Authors: Gregory Shulov (@GR360RY)community.general.infini_export (0.1.4) — module
Install with ansible-galaxy collection install community.general:==0.1.4
collections: - name: community.general version: 0.1.4
This module creates, deletes or modifies NFS exports on Infinibox.
- name: Export bar filesystem under foo pool as /data infini_export: name: /data01 filesystem: foo user: admin password: secret system: ibox001
- name: Export and specify client list explicitly infini_export: name: /data02 filesystem: foo client_list: - client: 192.168.0.2 access: RW no_root_squash: True - client: 192.168.0.100 access: RO no_root_squash: False - client: 192.168.0.10-192.168.0.20 access: RO no_root_squash: False system: ibox001 user: admin password: secret
name: aliases: - export - path description: - Export name. Should always start with C(/). (ex. name=/data) required: true user: description: - Infinibox User username with sufficient priveledges ( see notes ). required: false state: choices: - present - absent default: present description: - Creates/Modifies export when present and removes when absent. required: false system: description: - Infinibox Hostname or IPv4 Address. required: true type: str password: description: - Infinibox User password. type: str filesystem: description: - Name of exported file system. required: true inner_path: default: / description: - Internal path of the export. client_list: default: 'All Hosts(*), RW, no_root_squash: True' description: - List of dictionaries with client entries. See examples. Check infini_export_client module to modify individual NFS client entries for export. required: false