This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
vCD Roles
mac edited this page Mar 21, 2020
·
1 revision
-
- name: create role vcd_roles: role_name: test_role role_description: test role description role_rights: - test_right_01 - test_right_02 state: present
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- role_name - Name of the new role
- role_description - Description of new role
- role_rights - list of rights attached with role
- state - (Required) "present" to create role
- name: update role vcd_roles: role_name: test_role role_description: test role description role_rights: - test_right_01 - test_right_02 state: update
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- role_name - Name of the role needs to be updated
- role_description - Updated description of role
- role_rights - Updated list of rights attached with role
- state - (Required) "update" to update role
- name: delete role vcd_roles: role_name: test_role state: absent
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- role_name - Name of role needs to be deleted
- state - (Required) "absent" to delete role
-
- name: list roles vcd_roles: operation: list_roles
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- operation - (Required) "list_roles" to list all available roles inside logged in organization
- name: list rights vcd_roles: operation: list_rights
- user - (Optional) - vCloud Director user name
- password - (Optional) - vCloud Director password
- org - (Optional) - vCloud Director org name to log into
- host - (Optional) - vCloud Director host name
- api_version - (Optional) - Pyvcloud API version
- verify_ssl_certs - (Optional) - true to enforce to verify ssl certificate for each requests else false
- operation - (Required) "list_rights" to list all available rights of the logged in organization