redhat_cop.ah_configuration.ah_ee_registry_sync (0.9.2) — module

Initiate an execution environment registry sync.

Authors: Tom Page (@Tompage1994)

preview | supported by community

Install collection

Install with ansible-galaxy collection install redhat_cop.ah_configuration:==0.9.2


Add to requirements.yml

  collections:
    - name: redhat_cop.ah_configuration
      version: 0.9.2

Description

Initiate an execution environment registry sync. See U(https://www.ansible.com/) for an overview.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Sync my_registry without waiting
  ah_ee_registry_sync:
    name: my_registry
    wait: false
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Sync registry.redhat.io registry and wait up to 300 seconds
  ah_ee_registry_sync:
    name: registry_redhat_io
    wait: true
    timeout: 300

Inputs

    
name:
    description:
    - Registry name
    required: true
    type: str

wait:
    default: true
    description:
    - Wait for the registry to finish syncing before returning.
    required: false
    type: bool

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

timeout:
    description:
    - If waiting for the registry to update this will abort after this amount of seconds
    type: int

interval:
    default: 1
    description:
    - The interval to request an update from Automation Hub.
    required: false
    type: float

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:
    default: galaxy
    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