1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update plugins/modules/zfs.py

Co-authored-by: sam-lunt <samuel.j.lunt@gmail.com>
This commit is contained in:
Vita Batrla 2024-04-05 14:04:24 +02:00 committed by GitHub
parent 9922698b10
commit 56d346dbc1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -226,7 +226,7 @@ class Zfs(object):
# to avoids errors when the dataset already exists and the property is not changed # to avoids errors when the dataset already exists and the property is not changed
# this scenario is most likely when the same playbook is run more than once # this scenario is most likely when the same playbook is run more than once
if source in ('local', 'received', '-'): if source in ('local', 'received', '-'):
properties += [prop] properties.append(prop)
return properties return properties
def get_property(self, name, list_of_properties): def get_property(self, name, list_of_properties):