community / community.general / 6.6.8 / module / scaleway_container_registry Scaleway Container registry management module | "added in version" 5.8.0 of community.general" Authors: Guillaume MARTINEZ (@Lunik)community.general.scaleway_container_registry (6.6.8) — module
Install with ansible-galaxy collection install community.general:==6.6.8
collections: - name: community.general version: 6.6.8
This module manages container registries on Scaleway account.
- name: Create a container registry community.general.scaleway_container_registry: project_id: '{{ scw_project }}' state: present region: fr-par name: my-awesome-container-registry register: container_registry_creation_task
- name: Make sure container registry is deleted community.general.scaleway_container_registry: project_id: '{{ scw_project }}' state: absent region: fr-par name: my-awesome-container-registry
name: description: - Name of the container registry. required: true type: str wait: default: true description: - Wait for the resource to reach its desired state before returning. type: bool state: choices: - present - absent default: present description: - Indicate desired state of the container regitry. type: str region: choices: - fr-par - nl-ams - pl-waw description: - Scaleway region to use (for example C(fr-par)). required: true type: str api_url: aliases: - base_url default: https://api.scaleway.com description: - Scaleway API URL. type: str api_token: aliases: - oauth_token description: - Scaleway OAuth token. required: true type: str project_id: description: - Project identifier. required: true type: str api_timeout: aliases: - timeout default: 30 description: - HTTP timeout to Scaleway API in seconds. type: int description: default: '' description: - Description of the container registry. type: str wait_timeout: default: 300 description: - Time to wait for the resource to reach the expected state. required: false type: int privacy_policy: choices: - public - private default: private description: - Default visibility policy. - Everyone will be able to pull images from a C(public) registry. type: str validate_certs: default: true description: - Validate SSL certs of the Scaleway API. type: bool wait_sleep_time: default: 3 description: - Time to wait before every attempt to check the state of the resource. required: false type: int query_parameters: default: {} description: - List of parameters passed to the query string. type: dict
container_registry: description: The container registry information. returned: when I(state=present) sample: created_at: '2022-10-14T09:51:07.949716Z' description: Managed by Ansible endpoint: rg.fr-par.scw.cloud/my-awesome-registry id: 0d7d5270-7864-49c2-920b-9fd6731f3589 image_count: 0 is_public: false name: my-awesome-registry organization_id: 10697b59-5c34-4d24-8d15-9ff2d3b89f58 project_id: 3da4f0b2-06be-4773-8ec4-5dfa435381be region: fr-par size: 0 status: ready status_message: '' updated_at: '2022-10-14T09:51:07.949716Z' type: dict