1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

aix_filesystem: Fix examples (#5067)

`community.general.filesystem` is not a valid argument to
aix_filesystem.
This commit is contained in:
Maxwell G 2022-08-05 12:35:24 +02:00 committed by GitHub
parent 123c7efe5e
commit 8f37638480
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -106,55 +106,55 @@ EXAMPLES = r'''
- name: Create filesystem in a previously defined logical volume. - name: Create filesystem in a previously defined logical volume.
community.general.aix_filesystem: community.general.aix_filesystem:
device: testlv device: testlv
community.general.filesystem: /testfs filesystem: /testfs
state: present state: present
- name: Creating NFS filesystem from nfshost. - name: Creating NFS filesystem from nfshost.
community.general.aix_filesystem: community.general.aix_filesystem:
device: /home/ftp device: /home/ftp
nfs_server: nfshost nfs_server: nfshost
community.general.filesystem: /home/ftp filesystem: /home/ftp
state: present state: present
- name: Creating a new file system without a previously logical volume. - name: Creating a new file system without a previously logical volume.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /newfs filesystem: /newfs
size: 1G size: 1G
state: present state: present
vg: datavg vg: datavg
- name: Unmounting /testfs. - name: Unmounting /testfs.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /testfs filesystem: /testfs
state: unmounted state: unmounted
- name: Resizing /mksysb to +512M. - name: Resizing /mksysb to +512M.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /mksysb filesystem: /mksysb
size: +512M size: +512M
state: present state: present
- name: Resizing /mksysb to 11G. - name: Resizing /mksysb to 11G.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /mksysb filesystem: /mksysb
size: 11G size: 11G
state: present state: present
- name: Resizing /mksysb to -2G. - name: Resizing /mksysb to -2G.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /mksysb filesystem: /mksysb
size: -2G size: -2G
state: present state: present
- name: Remove NFS filesystem /home/ftp. - name: Remove NFS filesystem /home/ftp.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /home/ftp filesystem: /home/ftp
rm_mount_point: yes rm_mount_point: yes
state: absent state: absent
- name: Remove /newfs. - name: Remove /newfs.
community.general.aix_filesystem: community.general.aix_filesystem:
community.general.filesystem: /newfs filesystem: /newfs
rm_mount_point: yes rm_mount_point: yes
state: absent state: absent
''' '''