Share

Example Syntax

    - name: Create shares
      ionoscloudsdk.ionoscloud.share:
        group: Demo
        edit_privilege: true
        share_privilege: true
        resource_ids:
          - b50ba74e-b585-44d6-9b6e-68941b2ce98e
          - ba7efccb-a761-11e7-90a7-525400f64d8d
        state: present

    - name: Update shares
      ionoscloudsdk.ionoscloud.share:
        group: Demo
        edit_privilege: false
        resource_ids:
          - b50ba74e-b585-44d6-9b6e-68941b2ce98e
        state: update

Parameter Reference

The following parameters are supported:

NameRequiredTypeDefaultDescription

group

yes

string

The name or ID of the group.

resource_ids

yes

list

A list of resource IDs to add, update or remove as shares.

edit_privilege

no

boolean

Indicates that the group has permission to edit privileges on the resource.

share_privilege

no

boolean

Indicates that the group has permission to share the resource.

api_url

no

string

The Ionos API base URL.

username

no

string

The Ionos username. Overrides the IONOS_USERNAME environement variable.

password

no

string

The Ionos password. Overrides the IONOS_PASSWORD environement variable.

wait

no

boolean

true

Wait for the operation to complete before continuing.

wait_timeout

no

integer

600

The number of seconds until the wait ends.

state

no

string

present

Indicate desired state of the resource: present, absent, update

Last updated