avi_alertscriptconfig – Module for setup of AlertScriptConfig Avi RESTful Object¶
New in version 2.4.
Synopsis¶
This module is used to configure AlertScriptConfig object
more examples at https://github.com/avinetworks/devops
Requirements¶
The below requirements are needed on the host that executes this module.
avisdk
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 Alert Script to perform AWS server autoscaling
avi_alertscriptconfig:
username: '{{ username }}'
controller: '{{ controller }}'
password: '{{ password }}'
action_script: "echo Hello"
name: AWS-Launch-Script
tenant_ref: Demo
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
obj
dictionary
|
success, changed |
AlertScriptConfig (api/alertscriptconfig) object
|
Status¶
This module is not guaranteed to have a backwards compatible interface. [preview]
This module is maintained by the Ansible Community. [community]