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:
parent
2538383cf4
commit
2ea5bb8dbb
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ def main():
|
||||||
hwclock=dict(default=None, choices=['UTC', 'local'], aliases=['rtc']),
|
hwclock=dict(default=None, choices=['UTC', 'local'], aliases=['rtc']),
|
||||||
name=dict(default=None),
|
name=dict(default=None),
|
||||||
),
|
),
|
||||||
required_one_of=['hwclock', 'name'],
|
required_one_of=[['hwclock', 'name']],
|
||||||
supports_check_mode=True
|
supports_check_mode=True
|
||||||
)
|
)
|
||||||
tz = Timezone(module)
|
tz = Timezone(module)
|
||||||
|
|
Loading…
Add table
Reference in a new issue