All Projects → avinetworks → ansible-role-avisdk

avinetworks / ansible-role-avisdk

Licence: Apache-2.0 license
Avi Networks Ansible Modules

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ansible-role-avisdk

StegX
Steganography (BMP, PNG, WAV, MP3, AVI, FLV)
Stars: ✭ 22 (+69.23%)
Mutual labels:  avi
camstudio
CamStudio fork
Stars: ✭ 83 (+538.46%)
Mutual labels:  avi
Avi
🎬 Pocket online cinema for Android (Deprecated)
Stars: ✭ 18 (+38.46%)
Mutual labels:  avi
pyconngavi
Generates Branded Avatars for the PyconNG2017 Event
Stars: ✭ 13 (+0%)
Mutual labels:  avi

avinetworks.avisdk

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].