avinetworks.avisdk

DEPRECATED

Ansible Galaxy

⛔️ DEPRECATED: This repository is no longer maintained. Please use https://github.com/vmware/ansible-collection-alb instead, as this role has been moved to Ansible collections.

By using this role, you can access the latest version as well as version-specific Avi Ansible Modules.

Requirements

  • Python version 2.6 or higher
  • avisdk package
  • requests-toolbelt package

This role requires Ansible version 2.0 or higher. You can find the requirements in the metadata file.

Make sure to install the avisdk package using pip before running this module.

pip install avisdk --upgrade

Installation

To install the AviSDK Ansible Module, run the following command on the machine where you will use Ansible.

ansible-galaxy install -f avinetworks.avisdk

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

Role Variables

Example Playbooks

The following example is generic and can be applied 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 demonstrates the use 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

You can find many more examples at https://github.com/avinetworks/devops/tree/master/ansible and in the "EXAMPLES" section of each module.

License

Apache 2.0

Author Information

Avi Networks
Avi Networks

Installa
ansible-galaxy install avinetworks.avisdk
Licenza
apache-2.0
Download
136.8k
Proprietario