zfs - add hostname restriction on pool creation
This commit is contained in:
parent
879756c7da
commit
d78ac2e950
1 changed files with 1 additions and 1 deletions
|
@ -75,4 +75,4 @@
|
|||
# really bad idempotence in here...
|
||||
- name: create zpool
|
||||
command: "zpool create -f -O compression=lz4 data {{ zfs_disk }} -o ashift=13 -O secondarycache=all"
|
||||
when: not pools.changed
|
||||
when: not pools.changed and ('worker' in inventory_hostname)
|
||||
|
|
Loading…
Reference in a new issue