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

Fix required_one_of in timezone module (#20185)

This commit is contained in:
Jasper Lievisse Adriaanse 2017-01-12 17:35:14 +01:00 committed by John R Barker
parent 2538383cf4
commit 2ea5bb8dbb

View file

@ -437,7 +437,7 @@ def main():
hwclock=dict(default=None, choices=['UTC', 'local'], aliases=['rtc']),
name=dict(default=None),
),
required_one_of=['hwclock', 'name'],
required_one_of=[['hwclock', 'name']],
supports_check_mode=True
)
tz = Timezone(module)