Skip to content

Instantly share code, notes, and snippets.

@gowatana
Created November 28, 2022 16:38
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/3dcc4c83755ec2898996929d74072384 to your computer and use it in GitHub Desktop.
Save gowatana/3dcc4c83755ec2898996929d74072384 to your computer and use it in GitHub Desktop.
---
- name: setup Avi SE Group
hosts: localhost
connection: local
gather_facts: false
collections:
- vmware.alb
vars_files:
- creds.yml
tasks:
- name: setup Avi SE Group
avi_serviceenginegroup:
avi_credentials: "{{ avi_credentials | default(omit) }}"
name: Default-Group
vcenter_clusters:
cluster_refs:
- "/api/vimgrclusterruntime?name=infra-cluster-01"
include: true
vcenter_datastore_mode: VCENTER_DATASTORE_SHARED
vcenter_datastores:
- datastore_name: vsanDatastore
vcenter_datastores_include: true
vcenter_folder: AviSeFolder-01
state: present
@gowatana
Copy link
Author

下記の投稿むけ。

NSX ALB(Avi)を Ansible で操作してみる。Part-02 NSX ALB Controller の初期設定
https://vm.gowatana.jp/entry/2022/11/29/020349

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