update version added and add examples

This commit is contained in:
Serge van Ginderachter 2013-10-21 20:57:22 +02:00
parent 7ae16aec57
commit 2bc9f5eff0

View file

@ -26,7 +26,7 @@ module: bigip_monitor_http
short_description: "Manages F5 BIG-IP LTM http monitors" short_description: "Manages F5 BIG-IP LTM http monitors"
description: description:
- "Manages F5 BIG-IP LTM monitors via iControl SOAP API" - "Manages F5 BIG-IP LTM monitors via iControl SOAP API"
version_added: "1.3" version_added: "1.4"
author: Serge van Ginderachter author: Serge van Ginderachter
notes: notes:
- "Requires BIG-IP software version >= 11" - "Requires BIG-IP software version >= 11"
@ -134,7 +134,25 @@ options:
''' '''
EXAMPLES = ''' 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: try: