summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerge van Ginderachter <serge@vanginderachter.be>2013-10-21 20:57:22 +0200
committerSerge van Ginderachter <serge@vanginderachter.be>2013-10-21 20:57:22 +0200
commit7bad73bc50c2402a474e5ae7468dbd28b82ea9ec (patch)
tree945dcbcf350c30694018d27f901cc3bcdabf30ad
parent6aa3210eb04d645fe8c0809032486619f493bad9 (diff)
downloadansible-7bad73bc50c2402a474e5ae7468dbd28b82ea9ec.tar.gz
update version added and add examples
-rw-r--r--library/net_infrastructure/bigip_monitor_http22
1 files changed, 20 insertions, 2 deletions
diff --git a/library/net_infrastructure/bigip_monitor_http b/library/net_infrastructure/bigip_monitor_http
index 6c9ef2e8fe..072d7adddc 100644
--- a/library/net_infrastructure/bigip_monitor_http
+++ b/library/net_infrastructure/bigip_monitor_http
@@ -26,7 +26,7 @@ module: bigip_monitor_http
short_description: "Manages F5 BIG-IP LTM http monitors"
description:
- "Manages F5 BIG-IP LTM monitors via iControl SOAP API"
-version_added: "1.3"
+version_added: "1.4"
author: Serge van Ginderachter
notes:
- "Requires BIG-IP software version >= 11"
@@ -134,7 +134,25 @@ options:
'''
EXAMPLES = '''
-
+- name: BIGIP F5 | Create HTTP Monitor
+ local_action:
+ module: bigip_monitor_http
+ state: present
+ server: "{{ f5server }}"
+ user: "{{ f5user }}"
+ password: "{{ f5password }}"
+ name: "{{ item.monitorname }}"
+ send: "{{ item.send }}"
+ receive: "{{ item.receive }}"
+ with_items: f5monitors
+- name: BIGIP F5 | Remove HTTP Monitor
+ local_action:
+ module: bigip_monitor_http
+ state: absent
+ server: "{{ f5server }}"
+ user: "{{ f5user }}"
+ password: "{{ f5password }}"
+ name: "{{ monitorname }}"
'''
try: