redhat_cop / redhat_cop.ah_configuration / 0.8.0 / module / ah_group Manage private automation hub user groups | "added in version" 0.4.3 of redhat_cop.ah_configuration" Authors: Herve Quatremain (@herve4m)redhat_cop.ah_configuration.ah_group (0.8.0) — module
Install with ansible-galaxy collection install redhat_cop.ah_configuration:==0.8.0
collections: - name: redhat_cop.ah_configuration version: 0.8.0
Create and delete groups in private automation hub.
- name: Ensure the group exists redhat_cop.ah_configuration.ah_group: name: administrators state: present ah_host: hub.example.com ah_username: admin ah_password: Sup3r53cr3t
- name: Ensure the group is removed redhat_cop.ah_configuration.ah_group: name: operators state: absent ah_host: hub.example.com ah_username: admin ah_password: Sup3r53cr3t
name: description: - Name of the group to create or delete. required: true type: str state: choices: - absent - present default: present description: - If C(absent), then the module deletes the group. - The module does not fail if the group does not exist because the state is already as expected. - If C(present), then the module creates the group if it does not already exist. type: str ah_host: aliases: - ah_hostname description: - URL to Ansible Galaxy or Automation Hub instance. - If value not set, will try environment variable C(AH_HOST) - If value not specified by any means, the value of C(127.0.0.1) will be used type: str ah_password: description: - Password for your Ansible Galaxy or Automation Hub instance. - If value not set, will try environment variable C(AH_PASSWORD) type: str ah_username: description: - Username for your Ansible Galaxy or Automation Hub instance. - If value not set, will try environment variable C(AH_USERNAME) type: str ah_path_prefix: description: - API path used to access the api. - For galaxy_ng this is either 'automation-hub' or the custom prefix used on install with GALAXY_API_PATH_PREFIX - For Automation Hub this is 'galaxy' type: str validate_certs: aliases: - ah_verify_ssl description: - Whether to allow insecure connections to Galaxy or Automation Hub Server. - If C(no), SSL certificates will not be validated. - This should only be used on personally controlled sites using self-signed certificates. - If value not set, will try environment variable C(AH_VERIFY_SSL) type: bool