Customers
dvn_customer
create, update, or destroy DVN customers
Synopsis
- create, update, or destroy DVN customers
Options
| Parameter | Required? | Default | Choices | Comments |
|---|---|---|---|---|
| username | service-prov administrator username. If not specified as a parameter, the environment variable DVNREST_USER will be used. | |||
| password | service-prov password If not specified as a parameter, the environment variable DVNREST_PASSWORD will be used. | |||
| url | service-prov url. If not specified as a parameter, the environment variable DVNREST_URL will be used. | |||
| validate_certs | True | Check certs. Use false to allow self-signed. If not specified as a parameter, the environment variable VALIDATE_CERTS will be used. | ||
| state | present |
|
specify state of the customer | |
| customer_name | yes | Unique ID for object | ||
| customer_desc | Description for customer |
Examples
- name: create a customer
dvn_customer:
customer_name: bigcorp_qa
customer_desc: Large, Inc. (Quality Assurance)
- name: delete a customer
dvn_customer:
customer_name: bigcorp_qa
state: absent