avinetworks.avise

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

Ansible Galaxy

With this module, you can install the Avi Vantage Service Engine on your system. Make sure to meet the minimum requirements listed on the Avi SE Requirements webpage: Avi SE Requirements

Requirements

  • You need Docker, which can be installed with avinetworks.docker or manually.

  • The avisdk Python library is required. You can install it using:
    pip install avisdk --upgrade

Role Dependencies

  • avinetworks.avisdk
    • To install, run: ansible-galaxy install -f avinetworks.avisdk

Role Variables

Standard Parameters

Variable Required Default Comments
se_skip_requirements No false Skips disk space, RAM, and CPU requirements.

Auto-registration parameters

Variable Required Default Comments
se_autoregister No true Automatically register the service engine to the specified controller.
se_auth_token No None Token used to register the service engine to the controller.
se_master_ctl_ip No None IP address of the controller.
se_master_ctl_username No None Username for controller API login.
Not needed if se_autoregister: false
se_master_ctl_password No None Password for controller API login.
Not needed if se_autoregister: false
se_cloud_name No Default-Cloud Cloud name for auto-registration.
se_tenant No admin Tenant name for auto-registration.
segroup_uuid No None UUID for auto-registration.

Package Deployment Variables

Variable Required Default Comments
se_package_deploy No false Set to true for package deployment.
se_package_source No se_docker.tgz Source of the Docker tarball.
se_package_dest No /tmp/se_docker.tgz Destination on the server.

Docker Hub and Repo Variables

Variable Required Default Comments
se_docker_repo No None Enter a local repository if used.
se_version No latest Version of the Avi Service Engine package.
se_image No avinetworks/se:{{ se_version }} Full name of the service engine image.
se_docker_repo_user No None Username for repository authentication.
se_docker_repo_password No None Password for repository authentication.

Docker Deployment Variables

Variable Required Default Comments
se_dpdk No false Set to true for DPDK installation.
se_inband_mgmt No false Enables in-band management interface for data traffic.
se_cores No {{ ansible_processor_cores * ansible_processor_count }} Cores to be used by the service engine.
se_memory_gb No {{ ansible_memtotal_mb / 1024 }} Memory for the service engine.
se_destination_disk No auto-detect Disk for the service engine data.
se_disk_path No {{ se_destination_disk }}opt/avi/se/data Path for the service engine data installation.
se_disk_gb No 10 Size of the disk for service engine data.
se_logs_disk_path No None Path for service engine logs.
se_logs_disk_gb No None Size of the log data disk.
se_fresh_install No false Erases any existing service engine directories.
se_mounts_extras No [] Additional mounting points for the service engine.
No need for -v.
se_env_variables_extras No [] Extra environment variables for the service engine.
No need for -e.

Example Playbooks

WARNING:
Before using these examples, make appropriate changes for your server. More information at Avi Networks Sizing Service Engines

Adjust these parameters as needed for your setup.

Standard Example

- hosts: service_engines
  roles:
    - role: avinetworks.avise
      se_master_ctl_ip: 10.10.27.101
      se_master_ctl_username: admin
      se_master_ctl_password: avi123
      se_disk_gb: 60
      se_cores: 4
      se_memory_gb: 12

Minimum Example

- hosts: service_engines
  roles:
    - role: avinetworks.avise
      se_master_ctl_ip: 10.10.27.101
      se_master_ctl_username: admin
      se_master_ctl_password: avi123

Example without Auto-registration

- hosts: all
  roles:
    - role: avinetworks.docker
    - role: avinetworks.avise
      se_master_ctl_ip: 10.10.27.101
      se_auth_token: "{{ se_auth_token }}"

License

Apache 2.0

Author Information

Avi Networks
Avi Networks

Installa
ansible-galaxy install avinetworks.avise
Licenza
apache-2.0
Download
5.6k
Proprietario