Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
daf90e77
Commit
daf90e77
authored
Jan 14, 2014
by
jctanner
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5349 from sergevanginderachter/httpmonbugfix
bigip_monitor_http: two small bug fixes
parents
59d99c17
ad6ffe00
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
+1
-3
library/net_infrastructure/bigip_monitor_http
+1
-3
No files found.
library/net_infrastructure/bigip_monitor_http
View file @
daf90e77
...
...
@@ -394,7 +394,7 @@ def main():
{
'type'
:
'ITYPE_TIMEOUT'
,
'value'
:
timeout
},
{
'type'
:
'ITYPE_TIME_UNTIL_UP'
,
'value'
:
interval
}]
'value'
:
time_until_up
}]
# main logic, monitor generic
...
...
@@ -425,11 +425,9 @@ def main():
# whether it already existed, or was just created, now update
# the update functions need to check for check mode but
# cannot update settings if it doesn't exist which happens in check mode
if
monitor_exists
and
not
module
.
check_mode
:
result
[
'changed'
]
|=
update_monitor_properties
(
api
,
module
,
monitor
,
template_string_properties
,
template_integer_properties
)
# else assume nothing changed
# we just have to update the ipport if monitor already exists and it's different
if
monitor_exists
and
cur_ipport
!=
ipport
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment