Created
March 20, 2023 09:54
-
-
Save gowatana/e844ebcc95c38a77284f82e3026a0685 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 and VDC Network | |
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: | |
vapp_name: "vapp-03" | |
vdc: "org-vdc-01" | |
state: "absent" | |
force: true | |
- name: delete VDC Network orgvdc-routed-nw-06 | |
vcd_vdc_network: | |
network_name: "orgvdc-routed-nw-06" | |
vdc_name: "org-vdc-01" | |
routed: true | |
state: "absent" |
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-04 Routed Org VDC Network の作成 / 削除
https://vm.gowatana.jp/entry/2023/03/20/185844