ansible / ansible.builtin / v2.7.17 / module / purefb_fs Manage filesystemon Pure Storage FlashBlade` | "added in version" 2.6 of ansible.builtin" Authors: Simon Dodsley (@sdodsley) preview | supported by communityansible.builtin.purefb_fs (v2.7.17) — module
pip
Install with pip install ansible==2.7.17
This module manages filesystems on Pure Storage FlashBlade.
- name: Create new filesystem named foo purefb_fs: name: foo size: 1T state: present fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Delete filesystem named foo purefb_fs: name: foo state: absent fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Recover filesystem named foo purefb_fs: name: foo state: present fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Eradicate filesystem named foo purefb_fs: name: foo state: absent eradicate: true fb_url: 10.10.10.2 api_token: T-55a68eb5-c785-4720-a2ca-8b03903bf641
- name: Modify attributes of an existing filesystem named foo purefb_fs: name: foo size: 2T nfs : true nfs_rules: '*(ro)' snapshot: true fastremove: true smb: true state: present fb_url: 10.10.10.2
nfs: default: true description: - Define whether to NFS protocol is enabled for the filesystem. required: false type: bool smb: default: false description: - Define whether to SMB protocol is enabled for the filesystem. required: false type: bool http: default: false description: - Define whether to HTTP/HTTPS protocol is enabled for the filesystem. required: false type: bool name: description: - Filesystem Name. required: true size: default: 32G description: - Volume size in M, G, T or P units. See examples. required: false state: choices: - present - absent default: present description: - Create, delete or modifies a filesystem. required: false fb_url: description: - FlashBlade management IP address or Hostname. type: str snapshot: default: false description: - Define whether a snapshot directory is enabled for the filesystem. required: false type: bool api_token: description: - FlashBlade API token for admin privileged user. type: str eradicate: default: false description: - Define whether to eradicate the filesystem on delete or leave in trash. required: false type: bool nfs_rules: default: '*(rw,no_root_squash)' description: - Define the NFS rules in operation. required: false fastremove: default: false description: - Define whether the fast remove directory is enabled for the filesystem. required: false type: bool