m1yag1.globus.globus_group module – Manage Globus Groups
Note
This module is part of the m1yag1.globus collection (version 0.6.0).
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install m1yag1.globus.
To use it in a playbook, specify: m1yag1.globus.globus_group.
New in m1yag1.globus 1.0.0
Synopsis
Create, update, or delete Globus Groups
Manage group membership and permissions
Parameters
Parameter |
Comments |
|---|---|
List of group administrators. Accepts usernames (e.g., user@globusid.org), identity URNs, or UUIDs. |
|
Authentication method to use. If not specified, auto-detects based on available credentials. When Otherwise falls back to Choices:
|
|
Globus Auth client ID for client_credentials authentication. Can also be set via the |
|
Globus Auth client secret for client_credentials authentication. Can also be set via the |
|
Description of the group |
|
List of group members. Accepts usernames (e.g., user@globusid.org), identity URNs, or UUIDs. |
|
Name of the group |
|
Desired state of the group Choices:
|
|
Group visibility setting Choices:
|
Notes
Note
Authentication is required for all Globus API operations.
For
client_credentialsauth, register a confidential client at https://developers.globus.org.For
cliauth, runglobus loginfirst to cache tokens.The
climethod reads tokens from~/.globus/cli/storage.db.For
cliauth with multiple profiles, setGLOBUS_PROFILEenvironment variable.Set
GLOBUS_SDK_ENVIRONMENTtosandboxortestfor non-production environments.
See Also
See also
- Globus Auth Documentation
Official Globus authentication documentation
- Globus CLI
Command-line interface for Globus
Examples
- name: Create a Globus group
globus_group:
name: "research-team"
description: "Research team collaboration group"
visibility: "private"
members:
- "user1@example.org"
- "user2@example.org"
admins:
- "admin@example.org"
state: present
- name: Delete a Globus group
globus_group:
name: "old-group"
state: absent
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Whether the group was changed Returned: always |
|
ID of the created/managed group Returned: when state=present |
|
Name of the group Returned: always |