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: Parse VM object for YAML parser #52557

Closed
wants to merge 1 commit into from

Conversation

Akasurde
Copy link
Member

SUMMARY

Some of the VM objects are not parsed correctly by AnsibleDumper.
This fix makes sure that we pass all VM object as string or parsable format like dict.

Fixes: #52381

Signed-off-by: Abhijeet Kasurde akasurde@redhat.com

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lib/ansible/plugins/inventory/vmware_vm_inventory.py

Some of the VM objects are not parsed correctly by AnsibleDumper.
This fix makes sure that we pass all VM object as string or parsable format like dict.

Fixes: ansible#52381

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
@ansibot ansibot added affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. community_review In order to be merged, this PR must follow the community review workflow. needs_triage Needs a first human triage before being processed. support:community This issue/PR relates to code supported by the Ansible community. labels Feb 19, 2019
@Akasurde
Copy link
Member Author

superseded by #52642

@Akasurde Akasurde closed this Feb 20, 2019
@Akasurde Akasurde deleted the i52381 branch February 20, 2019 12:30
@sivel sivel removed the needs_triage Needs a first human triage before being processed. label Feb 20, 2019
@ansible ansible locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.8 This issue/PR affects Ansible v2.8 bug This issue/PR relates to a bug. community_review In order to be merged, this PR must follow the community review workflow. support:community This issue/PR relates to code supported by the Ansible community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VMware: ansible-inventory "cannot represent an object" when adding --yaml flag
3 participants