From 3af1d6ccaef2d9c0109037270b5513f2460ae76e Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Tue, 18 Jul 2017 10:19:06 -0700 Subject: [PATCH] Adds file_common_args to f5 utils (#26618) This is needed by a future module, so I wanted to make sure it's available now. --- lib/ansible/module_utils/f5_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_utils/f5_utils.py b/lib/ansible/module_utils/f5_utils.py index 09fedd85dbf..5a176fd29cb 100644 --- a/lib/ansible/module_utils/f5_utils.py +++ b/lib/ansible/module_utils/f5_utils.py @@ -200,7 +200,7 @@ 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, required_one_of=None, + required_if=None, required_one_of=None, add_file_common_args=False, f5_product_name='bigip'): self.f5_product_name = f5_product_name @@ -225,7 +225,8 @@ class AnsibleF5Client(object): mutually_exclusive=mutually_exclusive_params, required_together=required_together_params, required_if=required_if, - required_one_of=required_one_of + required_one_of=required_one_of, + add_file_common_args=add_file_common_args ) self.check_mode = self.module.check_mode