README/example: 'become', adjust quotes

This commit is contained in:
Josh Lay 2025-10-20 03:11:04 -05:00
parent 512254b867
commit 1d76ae53d7
Signed by: jlay
SSH key fingerprint: SHA256:RwEMoWwXniQX1sqHfSD+3z+LKU/TOkv3i1qsy75vfec

View file

@ -33,7 +33,7 @@ or [Ubuntu](https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/inde
vars: vars:
zfs_dkms_arc_pct_max: 33 zfs_dkms_arc_pct_max: 33
tasks: tasks:
- name: Pool (mirror, 'rust') # see also: 'community.general.zfs' - name: "Pool (mirror, 'rust')" # see also: 'community.general.zfs'
when: zfs_mirror_disks is defined when: zfs_mirror_disks is defined
community.general.zpool: community.general.zpool:
name: rust name: rust
@ -44,6 +44,7 @@ or [Ubuntu](https://openzfs.github.io/openzfs-docs/Getting%20Started/Ubuntu/inde
vdevs: vdevs:
- type: mirror - type: mirror
disks: "{{ zfs_mirror_disks }}" # reminder: 'host_vars'/inventory, host-specific disks: "{{ zfs_mirror_disks }}" # reminder: 'host_vars'/inventory, host-specific
become: true
``` ```
_NOTE:_ It is _not_ recommended to inline `zfs_mirror_disks` like this example. _NOTE:_ It is _not_ recommended to inline `zfs_mirror_disks` like this example.