Group
group
This module allows you to create, update or remove a group.
Example Syntax
name: Create group
ionoscloudsdk.ionoscloud.group:
name: 'AnsibleAutoTestUM'
create_datacenter: true
create_snapshot: true
reserve_ip: true
access_activity_log: true
create_pcc: true
s3_privilege: true
create_backup_unit: true
create_internet_access: true
create_k8s_cluster: true
create_flow_log: true
access_and_manage_monitoring: true
access_and_manage_certificates: true
manage_dbaas: true
register: group_response
name: Add user1 to group
ionoscloudsdk.ionoscloud.group:
group: 'AnsibleAutoTestUM'
users:
- ''
state: update
name: Delete group
ionoscloudsdk.ionoscloud.group:
group: 'AnsibleAutoTestUM'
state: absent
Returned object
{
"changed": true,
"failed": false,
"action": "create",
"group": {
"entities": null,
"href": "https://api.ionos.com/cloudapi/v6/um/groups/247c2dbf-e0d4-484f-934b-03d4bc09b772",
"id": "247c2dbf-e0d4-484f-934b-03d4bc09b772",
"properties": {
"access_activity_log": true,
"access_and_manage_certificates": true,
"access_and_manage_dns": false,
"access_and_manage_monitoring": true,
"create_backup_unit": true,
"create_data_center": true,
"create_flow_log": true,
"create_internet_access": true,
"create_k8s_cluster": true,
"create_pcc": true,
"create_snapshot": true,
"manage_dbaas": true,
"manage_dataplatform": false,
"manage_registry": false,
"name": "AnsibleAutoTestUM",
"reserve_ip": true,
"s3_privilege": true
},
"type": "group"
}
}
For more examples please check out the tests here.
state: present
name: Create group
ionoscloudsdk.ionoscloud.group:
name: 'AnsibleAutoTestUM'
create_datacenter: true
create_snapshot: true
reserve_ip: true
access_activity_log: true
create_pcc: true
s3_privilege: true
create_backup_unit: true
create_internet_access: true
create_k8s_cluster: true
create_flow_log: true
access_and_manage_monitoring: true
access_and_manage_certificates: true
manage_dbaas: true
register: group_response
Available parameters for state present:
state: absent
name: Delete group
ionoscloudsdk.ionoscloud.group:
group: 'AnsibleAutoTestUM'
state: absent
Available parameters for state absent:
state: update
name: Add user1 to group
ionoscloudsdk.ionoscloud.group:
group: 'AnsibleAutoTestUM'
users:
- ''
state: update
Available parameters for state update:
Last updated