This issue is resolved in vRealize Automation 8.10.1. See the Workaround section below for additional information.
Workaround:
Specify the
de-provision templates within the cloud template. The
de-provision templates should use the same inventory as the templates run during the
provision flow.
Example vCloud Template IaC YAML Syntax
Tower-Agent:
type: Cloud.Ansible.Tower
properties:
...
templates:
provision:
- name: install_apache_server
de-provision:
- name: uninstall_apache_server
...
'uninstall_apache_server' should use the same inventory as 'install_apache_server'