mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
(cherry picked from commit 01b32fec14
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
15c4e08295
commit
6252f3bded
2 changed files with 3 additions and 1 deletions
2
changelogs/fragments/4726-zfs.yml
Normal file
2
changelogs/fragments/4726-zfs.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
bugfixes:
|
||||||
|
- "zfs - fix wrong quoting of properties (https://github.com/ansible-collections/community.general/issues/4707, https://github.com/ansible-collections/community.general/pull/4726)."
|
|
@ -160,7 +160,7 @@ class Zfs(object):
|
||||||
elif prop == 'volblocksize':
|
elif prop == 'volblocksize':
|
||||||
cmd += ['-b', value]
|
cmd += ['-b', value]
|
||||||
else:
|
else:
|
||||||
cmd += ['-o', '%s="%s"' % (prop, value)]
|
cmd += ['-o', '%s=%s' % (prop, value)]
|
||||||
if origin and action == 'clone':
|
if origin and action == 'clone':
|
||||||
cmd.append(origin)
|
cmd.append(origin)
|
||||||
cmd.append(self.name)
|
cmd.append(self.name)
|
||||||
|
|
Loading…
Reference in a new issue