vCD Org - vmware-archive/ansible-module-vcloud-director GitHub Wiki
-
- name: create org vcd_org: org_name: "test_org" full_name: "test_org" is_enabled : "false" 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
- org_name - (Required) name of the organization
- full_name - (Required) full name of the organization
- is_enabled - (Optional) enable organization if true. The default value is false
- state == "present" (Required) to create org
- name: update org vcd_org: org_name: "test_org" is_enabled: "true" 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
- org_name - (Required) name of the organization
- is_enabled - (Required) enable organization if true. The default value is false
- state == "update" (Required) to update org
- name: delete org vcd_org: org_name: "test_org" force: "true" recursive: "true" 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
- org_name - (Required) name of the organization
- force - (Optional) force=true along with recursive=true to remove an organization and any objects it contains, regardless of their state. The default value is None
- recursive - (Optional) recursive=true to remove an organization and any objects it contains that are in a state that normally allows removal. The default value is None
- state == "absent" (Required) to delete org
-
- name: read org vcd_org: org_name: "test_org" operation: "read"
- 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
- org_name - (Required) name of the organization
- operation == "read" (Required) to read organization
- name: add rights to org vcd_org: org_name: "test_org" org_rights: - test_right_1 - test_right_2 operation: "add_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
- org_name - (Required) name of the organization
- org_rights - (Required) list of rights to be added to an organization
- operation == "add_rights" (Required) to add rights to the organization
- name: remove rights from org vcd_org: org_name: "test_org" org_rights: - test_right_1 - test_right_2 operation: "remove_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
- org_name - (Required) name of the organization
- org_rights - (Required) list of rights to be remove to an organization
- operation == "remove_rights" (Required) to remove rights from the organization
- name: list org rights vcd_org: org_name: "test_org" 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
- org_name - (Required) name of the organization
- operation == "list_rights" (Required) to list available rights of the organization
- name: list org roles vcd_org: org_name: "test_org" 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
- org_name - (Required) name of the organization
- operation == "list_roles" (Required) to list available roles of the organization