vmware-archive / ansible-module-vcloud-director

ansible-module-vcloud-director
Other
112 stars 85 forks source link

Change own VCD user password #224

Open srekkas opened 1 year ago

srekkas commented 1 year ago

Describe the bug

I try to change user which is used for login to VCD password.

Reproduction steps

  1. Create task, where username is is same as used for VCD login
    • name: update vcd user password vcd_user: username: "{{myaccount_username}}" is_enabled: "true" userpassword: "{{ new_pass }}" state: "update"
  2. Get error Status code: 403/ACCESS_TO_RESOURCE_IS_FORBIDDEN, [ ed43b917-37ee-4088-af9e-1cdf1b2d2f90 ] Either you need some or all of the following rights [GROUP_USER_MANAGE] to perform operations [USER_EDIT] for 644c7424-c163-4419-9751-17bf2021cbdc or the target entity is invalid. ...

Expected behavior

Able to change own password

Additional context

User is local VCD user and is able to change password over VCD console.