Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vmware_content_deploy_template fails for existing vm #2239

Open
Rogacz opened this issue Nov 6, 2024 · 0 comments
Open

vmware_content_deploy_template fails for existing vm #2239

Rogacz opened this issue Nov 6, 2024 · 0 comments

Comments

@Rogacz
Copy link

Rogacz commented Nov 6, 2024

SUMMARY

vmware_content_deploy_template fails for existing vm

ISSUE TYPE
  • Bug Report
COMPONENT NAME

vmware_content_deploy_template

ANSIBLE VERSION
ansible [core 2.16.12]
COLLECTION VERSION
community.vmware 4.7.1
STEPS TO REPRODUCE

Use vmware_content_deploy_template twice (use state=present)
First time it will deploy the vm, second time it will fail

EXPECTED RESULTS

As per documentation, it should return OK

If set to present and VM does not exists, then VM is created.
If set to present and VM exists, no action is taken.

- If set to V(present) and VM exists, no action is taken.

ACTUAL RESULTS

Return state failed

"msg": "Virtual Machine deployment failed"

Mentioned:
#1006 (comment)
Code:

self._fail(msg="Virtual Machine deployment failed")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant