Service Groups
dvn_servicegroup
create, update, or destroy DVN service groups
Synopsis
- create, update, or destroy DVN service groups
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 service group | |
| tag_id | yes | Unique ID for object | ||
| common_name | Service group label for object | |||
| tag_type | std |
|
Service group type |
Examples
- name: create a service group
dvn_servicegroup:
url: "{{rest_url}}"
username: "{{rest_user}}"
password: "{{rest_pass}}"
tag_id: service-group1
validate_certs: false
- name: change common name
dvn_servicegroup:
url: "{{rest_url}}"
username: "{{rest_user}}"
password: "{{rest_pass}}"
tag_id: service-group1
common_name: test12345
validate_certs: false
- name: delete
dvn_servicegroup:
url: "{{rest_host}}"
username: "{{rest_user}}"
password: "{{rest_pass}}"
tag_id: service-group1
common_name: test12345
state: absent
validate_certs: false