README/example: 'become', adjust quotes
This commit is contained in:
parent
512254b867
commit
1d76ae53d7
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue