community.network.avi_healthmonitor – Module for setup of HealthMonitor Avi RESTful Object¶
Note
This plugin is part of the community.network collection (version 1.3.2).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.avi_healthmonitor
.
Synopsis¶
This module is used to configure HealthMonitor object
more examples at https://github.com/avinetworks/devops
Parameters¶
Notes¶
Note
For more information on using Ansible to manage Avi Network devices see https://www.ansible.com/ansible-avi-networks.
Examples¶
- name: Create a HTTPS health monitor
community.network.avi_healthmonitor:
controller: 10.10.27.90
username: admin
password: AviNetworks123!
https_monitor:
http_request: HEAD / HTTP/1.0
http_response_code:
- HTTP_2XX
- HTTP_3XX
receive_timeout: 4
failed_checks: 3
send_interval: 10
successful_checks: 3
type: HEALTH_MONITOR_HTTPS
name: MyWebsite-HTTPS
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
obj
dictionary
|
success, changed |
HealthMonitor (api/healthmonitor) object
|
Authors¶
Gaurav Rastogi (@grastogi23) <grastogi@avinetworks.com>