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

Adds required_one_of to f5 utils class (#21650)

This commit is contained in:
Tim Rupp 2017-02-20 08:01:31 -08:00 committed by John R Barker
parent e2e4a69425
commit f37bc92924

View file

@ -199,7 +199,8 @@ F5_COMMON_ARGS = dict(
class AnsibleF5Client(object):
def __init__(self, argument_spec=None, supports_check_mode=False,
mutually_exclusive=None, required_together=None,
required_if=None, f5_product_name='bigip'):
required_if=None, required_one_of=None,
f5_product_name='bigip'):
merged_arg_spec = dict()
merged_arg_spec.update(F5_COMMON_ARGS)
@ -220,7 +221,8 @@ class AnsibleF5Client(object):
supports_check_mode=supports_check_mode,
mutually_exclusive=mutually_exclusive_params,
required_together=required_together_params,
required_if=required_if
required_if=required_if,
required_one_of=required_one_of
)
self.check_mode = self.module.check_mode