-
-
Save gowatana/73a48c0d814565771b4da6e54067c906 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Get vApp VM info | |
hosts: localhost | |
gather_facts: false | |
tasks: | |
- name: get list of vms | |
vcd_vapp: | |
host: "lab-vcd-31.vcd.go-lab.jp" | |
api_version: "37.0" | |
org: "demo-org-01" | |
user: "org-01-admin" | |
password: "VMware1!" | |
verify_ssl_certs: false | |
vdc: "org-vdc-01" | |
vapp_name: "vapp-01" | |
operation: "list_vms" | |
register: vms | |
- name: output | |
debug: | |
var: vms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
下記の投稿むけ
VMware Cloud Director 10.4 を Ansible で操作してみる。Part-01 環境構築編
https://vm.gowatana.jp/entry/2022/07/28/072134