ansible.memsource.memsource_project_template_info (1.0.1) — module

Gather information about templates available in Memsource.

| "added in version" 0.0.1 of ansible.memsource"

Authors: Yanis Guenane (@Spredzy)

Install collection

Install with ansible-galaxy collection install ansible.memsource:==1.0.1


Add to requirements.yml

  collections:
    - name: ansible.memsource
      version: 1.0.1

Description

Gather information about templates available in Memsource


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Gather information about all available templates
  ansible.memsource.memsource_template_info:
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Gather information about a named template
  ansible.memsource.memsource_template_info:
    filters:
      name: my-memsource-template

Inputs

    
filters:
    default: {}
    description:
    - A dict of filters to apply.
    - Each dict item consists of a filter key and a filter value.
    - See U(https://cloud.memsource.com/web/docs/api#operation/getProjectTemplate) for
      possible filters.
    required: false
    type: dict

memsource_token:
    description:
    - The OAuth token to use to connect to cloud.memsource.com.
    type: str

memsource_password:
    description:
    - The password to use for BasicAuth to connect to cloud.memsource.com.
    type: str

memsource_username:
    description:
    - The username to use for BasicAuth to connect to cloud.memsource.com.
    type: str

Outputs

templates:
  description: 'Memsource templates that match the provided filters. Each element
    consists of a dict with all the information related to that template.

    '
  returned: on success
  type: list