summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Rupp <caphrim007@gmail.com>2017-07-18 10:19:06 -0700
committerJohn R Barker <john@johnrbarker.com>2017-07-18 18:19:06 +0100
commit3af1d6ccaef2d9c0109037270b5513f2460ae76e (patch)
tree251633629b9c5cfe81fbfc198be2037b12568ab4
parentea14107a5631c3343c5888fa8960e93833ebd31d (diff)
downloadansible-3af1d6ccaef2d9c0109037270b5513f2460ae76e.tar.gz
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.
-rw-r--r--lib/ansible/module_utils/f5_utils.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/ansible/module_utils/f5_utils.py b/lib/ansible/module_utils/f5_utils.py
index 09fedd85db..5a176fd29c 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