ansible.memsource.memsource_job_targetfile (1.0.1) — module

Download a Memsource target file

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

Download a Memsource target file


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Download job target file and rely on filename and original directory name for dest
  ansible.memsource.memsource_job_targetfile:
    project_uid: xxx
    jobs_uid: yyy
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Download job target file and write it in path
  ansible.memsource.memsource_job_targetfile:
    project_uid: xxx
    jobs_uid: yyy
    path: /tmp/foo

Inputs

    
path:
    description:
    - Path where to install the downloaded file. If not specified it will rely on filename
      and original directory provided by the Memsource API
    required: false
    type: path

force:
    description:
    - Whether to force write the downloaded file
    required: false
    type: bool

job_uid:
    description:
    - UID of the job the target file is attached to
    required: true
    type: str

project_uid:
    description:
    - UID of the project the job belongs to
    required: true
    type: str

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_targetfile:
  description: 'TBD

    '
  returned: on success
  type: dict