ansible.memsource.memsource_job (1.0.1) — module

Manage a Memsource job

| "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

Manage a Memsource job


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Project creation
#
- name: Create job
  ansible.memsource.memsource_job:
    project_uid: project_uid
    langs:
      - ja_jp
      - zh_cn
    filename: /path/to/file
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve job information
  ansible.memsource.memsource_job:
    uid: uid
    project_uid: project_uid
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete job
  ansible.memsource.memsource_job:
    uid: uid
    project_uid: project_uid
    state: absent

Inputs

    
uid:
    description:
    - UID of the job
    type: str

langs:
    description:
    - Target languages for the job
    type: list

project_uid:
    description:
    - UID of the project the job's belong to
    type: str

source_lang:
    description:
    - Source language of the job
    type: str

preTranslate:
    description:
    - Adds a flag to pre-populate data with cached strings

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

job:
  description: 'Job''s up to date information

    '
  returned: on success
  type: dict