diff options
author | Serge van Ginderachter <serge@vanginderachter.be> | 2013-09-10 17:03:17 +0200 |
---|---|---|
committer | Serge van Ginderachter <serge@vanginderachter.be> | 2013-10-21 20:36:25 +0200 |
commit | 6aa3210eb04d645fe8c0809032486619f493bad9 (patch) | |
tree | c647f555936a4398bf631fa2e124a59aa867eed1 | |
parent | 7454038d82c9f300fcc7e69008d874a162d7e983 (diff) | |
download | ansible-6aa3210eb04d645fe8c0809032486619f493bad9.tar.gz |
add missing defaults
-rw-r--r-- | library/net_infrastructure/bigip_monitor_http | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/library/net_infrastructure/bigip_monitor_http b/library/net_infrastructure/bigip_monitor_http index 6f3d492bd9..6c9ef2e8fe 100644 --- a/library/net_infrastructure/bigip_monitor_http +++ b/library/net_infrastructure/bigip_monitor_http @@ -330,6 +330,8 @@ def main(): if port is None: port = cur_ipport['ipport']['port'] else: # use API defaults if not defined to create it + if interval is None: interval = 5 + if timeout is None: timeout = 16 if ip is None: ip = '0.0.0.0' if port is None: port = 0 if send is None: send = '' @@ -351,6 +353,8 @@ def main(): 'port': port}} template_attributes = {'parent_template': parent, + 'interval': interval, + 'timeout': timeout, 'dest_ipport': ipport, 'is_read_only': False, 'is_directly_usable': True} |