Skip to content

Commit

Permalink
Remove trailing whitespaces and break too long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
erjac77 committed Jul 6, 2018
1 parent 8c65c08 commit 94f7cd5
Show file tree
Hide file tree
Showing 20 changed files with 107 additions and 83 deletions.
10 changes: 5 additions & 5 deletions library/f5bigip_gtm_listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@
- Specifies the type of source address translation enabled for the listener as well as the pool that the
source address translation will use.
suboptions:
pool:
pool:
description:
- Specifies the name of a SNAT pool used by the specified listener.
type:
type:
description:
- Specifies the type of source address translation associated with the specified listener.
choices: ['automap', 'none', 'snat']
Expand Down Expand Up @@ -159,9 +159,9 @@
partition: Common
description: My listener
address: 10.10.1.1
persist:
persist:
- { name: dest_addr, partition: Common, tmDefault: 'yes' }
source_address_translation:
source_address_translation:
type: automap
state: present
delegate_to: localhost
Expand Down Expand Up @@ -236,7 +236,7 @@ def _set_crud_methods(self):
def source_address_translation(self):
if self._params['sourceAddressTranslation']:
if self._params['sourceAddressTranslation']['type'] == 'automap' and 'pool' in self._params[
'sourceAddressTranslation']:
'sourceAddressTranslation']:
raise AnsibleF5Error("Cannot specify a pool when using automap.")
else:
return None
Expand Down
3 changes: 2 additions & 1 deletion library/f5bigip_gtm_monitor_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
- Specifies the password if the monitored target requires authentication.
probe_timeout:
description:
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP system.
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP
system.
default: 5
recv:
description:
Expand Down
3 changes: 2 additions & 1 deletion library/f5bigip_gtm_monitor_tcp.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
default: Common
probe_timeout:
description:
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP system.
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP
system.
default: 5
recv:
description:
Expand Down
5 changes: 3 additions & 2 deletions library/f5bigip_gtm_monitor_udp.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
default: Common
probe_attempts:
description:
- Specifies the number of times the BIG-IP system attempts to probe the host server, after which the BIG-IP
- Specifies the number of times the BIG-IP system attempts to probe the host server, after which the BIG-IP
system considers the host server down or unavailable.
default: 3
probe_interval:
Expand All @@ -76,7 +76,8 @@
default: 1
probe_timeout:
description:
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP system.
- Specifies the number of seconds after which the BIG-IP system times out the probe request to the BIG-IP
system.
default: 5
reverse:
description:
Expand Down
9 changes: 8 additions & 1 deletion library/f5bigip_gtm_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@
f5_port: 443
name: my_rule
partition: Common
api_anonymous: 'when DNS_REQUEST { if {[IP::addr [IP::remote_addr]/24 equals 10.10.1.0/24] } { cname cname.siterequest.com } else { host 10.20.20.20 } }'
api_anonymous: |
when DNS_REQUEST {
if { [IP::addr [IP::remote_addr]/24 equals 10.10.1.0/24] } {
cname cname.siterequest.com
} else {
host 10.20.20.20
}
}
state: present
delegate_to: localhost
'''
Expand Down
2 changes: 1 addition & 1 deletion library/f5bigip_ltm_auth_ssl_cc_ldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
f5_port: 443
name: my_ssl_cc_ldap
partition: Common
servers:
servers:
- localhost
user_key: Key
state: present
Expand Down
15 changes: 10 additions & 5 deletions library/f5bigip_ltm_monitor_diameter.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,17 @@
- Specifies descriptive text that identifies the component.
host_ip_address:
description:
- Specifies the IP address of the sender of the Diameter message for the Diameter protocol peer discovery feature.
- Specifies the IP address of the sender of the Diameter message for the Diameter protocol peer discovery
feature.
interval:
description:
- Specifies, in seconds, the frequency at which the system issues the monitor check when either the resource is down or the status of the resource is unknown.
- Specifies, in seconds, the frequency at which the system issues the monitor check when either the resource
is down or the status of the resource is unknown.
default: 10
manual_resume:
description:
- Specifies whether the system automatically changes the status of a resource to up at the next successful monitor check.
- Specifies whether the system automatically changes the status of a resource to up at the next successful
monitor check.
default: disabled
choices: ['enabled', 'disabled']
name:
Expand Down Expand Up @@ -97,14 +100,16 @@
default: 0
vendor_id:
description:
- Specifies the IANA SMI Network Management Private Enterprise Code assigned to the vendor of the Diameter application.
- Specifies the IANA SMI Network Management Private Enterprise Code assigned to the vendor of the Diameter
application.
default: 3375
vendor_specific_acct_application_id:
description:
- Specifies Specifies the ID of the vendor-specific accounting portion of a Diameter application.
vendor_specific_auth_application_id:
description:
- Specifies the ID of the vendor-specific authentication and authorization portion of a Diameter application.
- Specifies the ID of the vendor-specific authentication and authorization portion of a Diameter
application.
vendor_specific_vendor_id:
description:
- Specifies the ID of a vendor-specific Diameter application.
Expand Down
44 changes: 22 additions & 22 deletions library/f5bigip_ltm_policy_rule_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
- Specifies that the cache should be modified.
carp:
description:
-
- TODO
category:
description:
- Specifies that a category should be set.
Expand All @@ -84,16 +84,16 @@
- Specifies that a cookie should be set.
cookie_hash:
description:
-
- TODO
cookie_insert:
description:
-
- TODO
cookie_passive:
description:
-
- TODO
cookie_rewrite:
description:
-
- TODO
default:
description:
- Specifies that a default action should be taken.
Expand All @@ -105,7 +105,7 @@
- Specifies that a connection should be deferred.
destination_address:
description:
-
- TODO
disable:
description:
- Specifies that a feature should be disabled.
Expand All @@ -123,7 +123,7 @@
- Specifies that an expiry should be set.
expiry_secs:
description:
-
- TODO
expression:
description:
- Specifies that an expression should be set.
Expand All @@ -132,7 +132,7 @@
- Specifies that an extension should be used.
facility:
description:
-
- TODO
forward:
description:
- Specifies that forwarding should be modified.
Expand All @@ -141,7 +141,7 @@
- Specifies that a from profile should be set.
hash:
description:
-
- TODO
host:
description:
- Specifies that a host should be set.
Expand Down Expand Up @@ -189,16 +189,16 @@
- Specifies that the connection should be sent through an internal virtual server.
ip_address:
description:
-
- TODO
key:
description:
-
- TODO
l7dos:
description:
- Specifies that a Layer 7 DOS protection policy should be invoked.
length:
description:
-
- TODO
local:
description:
- Specifies that a local action should be taken.
Expand All @@ -210,7 +210,7 @@
- Specifies that a log should be generated.
ltm_policy:
description:
-
- TODO
member:
description:
- Specifies that a member should be set.
Expand Down Expand Up @@ -250,7 +250,7 @@
- Specifies that the Policy Enforcement Manager should be applied.
persist:
description:
-
- TODO
pin:
description:
- Specifies that a connection should be pinned.
Expand All @@ -269,7 +269,7 @@
- Specifies that a port should be set.
priority:
description:
-
- TODO
profile:
description:
- Specifies that a profile should be set.
Expand Down Expand Up @@ -339,19 +339,19 @@
- Specifies that a snat pool should be set.
source_address:
description:
-
- TODO
ssl_client_hello:
description:
-
- TODO
ssl_server_handshake:
description:
-
- TODO
ssl_server_hello:
description:
-
- TODO
ssl_session_id:
description:
-
- TODO
state:
description:
- Specifies the state of the component on the BIG-IP system.
Expand All @@ -374,10 +374,10 @@
- Specifies a timeout value in seconds.
uie:
description:
-
- TODO
universal:
description:
-
- TODO
unnamed_query_parameter:
description:
- Specifies that an unnamed query parameter should be set.
Expand Down
Loading

0 comments on commit 94f7cd5

Please sign in to comment.