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

community.vmware.vcenter_folder: when a folder contains more than one level, its name shows the encoded representation '%2f' instead of '/' #2097

Open
rnozaki opened this issue Jun 19, 2024 · 0 comments

Comments

@rnozaki
Copy link

rnozaki commented Jun 19, 2024

SUMMARY

I am using the module community.vmware.vcenter_folder with the following parameters:
datacenter_name: XYZ
folder_name: Infrastructure
parent_folder: "Lab/Servers"
state: present

The folder is created, but under the path /XYZ/vm/Infrastructure/Lab%2fServers (i.e., the encoded representation of '/' instead of the character itself

ISSUE TYPE
  • Bug Report
COMPONENT NAME

community.vmware.vcenter_folder

ANSIBLE VERSION
ansible-playbook [core 2.15.8]
python version = 3.9.18
COLLECTION VERSION
community.vmware:4.4.0
OS / ENVIRONMENT

VMware vSphere 7.0.3

STEPS TO REPRODUCE
- name: Make sure folder existis:
  community.vmware.vcenter_folder with the following parameters:
    datacenter_name: XYZ
    folder_name: Infrastructure
    parent_folder: "Lab/Servers"
    state: present
EXPECTED RESULTS

Folder created under /XYZ/vm/Infrastructure/Lab/Servers

ACTUAL RESULTS

Folder created under /XYZ/vm/Infrastructure/Lab%2fServers

@rnozaki rnozaki changed the title When a folder contains more than one level, its name shows the encoded representation '%2f' instead of '/' community.vmware.vcenter_folder: when a folder contains more than one level, its name shows the encoded representation '%2f' instead of '/' Jun 19, 2024
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