-
-
Save gowatana/e8340e50dfb9be7987f8722abc6cc3be 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: Delete VCD vApp demo | |
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: delete vapp-03 | |
vcd_vapp: | |
vdc: "org-vdc-01" | |
vapp_name: "vapp-03" | |
catalog_name: "catalog-01" | |
template_name: "vapp-template-01" | |
description: "created by ansible" | |
deploy: true | |
power_on: true | |
accept_all_eulas: true | |
state: "absent" | |
force: true |
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-02 vApp 作成 / 削除
https://vm.gowatana.jp/entry/2022/07/29/195449