Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created July 22, 2021 14:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gowatana/1308e3b9014c713416f9bba80795f6ed to your computer and use it in GitHub Desktop.
Save gowatana/1308e3b9014c713416f9bba80795f6ed to your computer and use it in GitHub Desktop.
---
- name: Get Avi API Version
hosts: localhost
connection: local
gather_facts: false
vars_files:
- ./login.yml
tasks:
- name: Get Avi API Version
avi_api_version:
controller: "{{ avi_controller }}"
username: "{{ avi_username }}"
password: "{{ avi_password }}"
tenant: "{{ avi_tenant }}"
register: avi_controller_version
- name: Output Avi API Version
debug:
var: avi_controller_version
@gowatana
Copy link
Author

下記の投稿むけ。

NSX ALB(Avi)に Ansible で接続してみる。
https://vm.gowatana.jp/entry/2021/07/22/235906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment