We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
for the community.vmware.vmware_object_role_permission module setting recursive from false to true or true to false does not show a change
So if at first I run this it sets recursive to false
- name: Datastore permissions for metaswitch community.vmware.vmware_object_role_permission: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: false role: Admin principal: "VSPHERE.LOCAL\\bob" object_type: Datastore object_name: my-datastore recursive: false state: present delegate_to: localhost
but then If I change it to this and rerun it doesn't make any changes
- name: Datastore permissions for metaswitch community.vmware.vmware_object_role_permission: hostname: "{{ vcenter_hostname }}" username: "{{ vcenter_username }}" password: "{{ vcenter_password }}" validate_certs: false role: Admin principal: "VSPHERE.LOCAL\\bob" object_type: Datastore object_name: my-datastore recursive: true state: present delegate_to: localhost
The text was updated successfully, but these errors were encountered:
Nope, the module is written in such a way that if permission is assigned its compliance with the declaration is not checked. Need rework.
As a workaround, I can only offer to do Absent/Present.
Sorry, something went wrong.
I'm not sure, but it might work if we simply match propagate of Permission with recursive here:
propagate
recursive
community.vmware/plugins/modules/vmware_object_role_permission.py
Lines 219 to 221 in 09c21d5
Might be worth a try.
No branches or pull requests
SUMMARY
for the community.vmware.vmware_object_role_permission module
setting recursive from false to true or true to false does not show a change
So if at first I run this it sets recursive to false
but then If I change it to this and rerun it doesn't make any changes
The text was updated successfully, but these errors were encountered: