Fix parameter name (#8913)

pull/8922/head
Niko Ehrenfeuchter 2024-09-24 21:53:16 +02:00 committed by GitHub
parent 293021c3dd
commit 199ba0a170
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 6 deletions

View File

@ -102,40 +102,40 @@ EXAMPLES = r'''
- name: Create a @home subvolume under the root subvolume - name: Create a @home subvolume under the root subvolume
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@home name: /@home
device: /dev/vda2 filesystem_device: /dev/vda2
- name: Remove the @home subvolume if it exists - name: Remove the @home subvolume if it exists
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@home name: /@home
state: absent state: absent
device: /dev/vda2 filesystem_device: /dev/vda2
- name: Create a snapshot of the root subvolume named @ - name: Create a snapshot of the root subvolume named @
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@ name: /@
snapshot_source: / snapshot_source: /
device: /dev/vda2 filesystem_device: /dev/vda2
- name: Create a snapshot of the root subvolume and make it the new default subvolume - name: Create a snapshot of the root subvolume and make it the new default subvolume
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@ name: /@
snapshot_source: / snapshot_source: /
default: Yes default: Yes
device: /dev/vda2 filesystem_device: /dev/vda2
- name: Create a snapshot of the /@ subvolume and recursively creating intermediate subvolumes as required - name: Create a snapshot of the /@ subvolume and recursively creating intermediate subvolumes as required
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@snapshots/@2022_06_09 name: /@snapshots/@2022_06_09
snapshot_source: /@ snapshot_source: /@
recursive: True recursive: True
device: /dev/vda2 filesystem_device: /dev/vda2
- name: Remove the /@ subvolume and recursively delete child subvolumes as required - name: Remove the /@ subvolume and recursively delete child subvolumes as required
community.general.btrfs_subvolume: community.general.btrfs_subvolume:
name: /@snapshots/@2022_06_09 name: /@snapshots/@2022_06_09
snapshot_source: /@ snapshot_source: /@
recursive: True recursive: True
device: /dev/vda2 filesystem_device: /dev/vda2
''' '''