Skip to content

Instantly share code, notes, and snippets.

@gowatana
Last active Jul 27, 2022
Embed
What would you like to do?
- name: Get vApp VM info
hosts: localhost
gather_facts: false
environment:
env_host: "lab-vcd-31.vcd.go-lab.jp"
env_org: "demo-org-01"
env_user: "org-01-admin"
env_password: "VMware1!"
env_api_version: "37.0"
env_verify_ssl_certs: false
tasks:
- name: get list of vms
vcd_vapp:
vdc: "org-vdc-01"
vapp_name: "vapp-01"
operation: "list_vms"
register: vms
- name: output
debug:
var: vms
@gowatana
Copy link
Author

gowatana commented Jul 27, 2022

下記の投稿むけ

VMware Cloud Director 10.4 を Ansible で操作してみる。Part-01 環境構築編
https://vm.gowatana.jp/entry/2022/07/28/072134

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