Skip to content
Avi Networks Ansible Modules
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
library
meta
tasks
tests
.gitignore
.travis.yml
LICENSE
README.md Merge pull request #36 from avinetworks/AV-44595 Sep 11, 2018

README.md

avinetworks.avisdk

Build Status Ansible Galaxy

Using this role, you will be able to use the latest version, and version specific Avi Ansible Modules.

Requirements

  • python >= 2.6
  • avisdk
  • requests-toolbelt

This role requires Ansible 2.0 or higher. Requirements are listed in the metadata file.

Please install avisdk from pip prior to running this module.


pip install avisdk --upgrade

Installation

To install the AviSDK Ansible Module, please issue the command on the machine you will run Ansible from.


ansible-galaxy install -f avinetworks.avisdk

For more information please visit http://docs.ansible.com/ansible/galaxy.html

Role Variables

Example Playbooks

The following example is generic, applies to any module.

---
- hosts: localhost
  connection: local
  roles:
    - role: avinetworks.avisdk
  tasks:
    - avi_<module_name>:
      controller: 10.10.27.90
      username: admin
      password: password
      ......

This example shows usage of the avi_healthmonitor module included in this role.

---
- hosts: localhost
  connection: local
  roles:
    - role: avinetworks.avisdk
  tasks:
    - avi_healthmonitor:
        controller: 10.10.27.90
        username: admin
        password: password
        api_version: 17.1
        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

There are many more examples located at https://github.com/avinetworks/devops/tree/master/ansible and also available in the "EXAMPLES" within each module.

License

Apache 2.0

Author Information

Avi Networks Avi Networks

You can’t perform that action at this time.