community.network.avi_alertscriptconfig – Module for setup of AlertScriptConfig 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_alertscriptconfig
.
Synopsis¶
This module is used to configure AlertScriptConfig 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 Alert Script to perform AWS server autoscaling
community.network.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
|
Authors¶
Gaurav Rastogi (@grastogi23) <grastogi@avinetworks.com>