ansible.memsource.memsource_project (1.0.1) — module

Manage a Memsource project

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


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create project from template id
  ansible.memsource.memsource_project:
    name: My Project
    template_id: 12345
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Retrieve project information
  ansible.memsource.memsource_project:
    uid: uid
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete project
  ansible.memsource.memsource_project:
    uid: uid
    state: absent

Inputs

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

name:
    default: {}
    description:
    - A dict of filters to apply
    required: false
    type: dict

template_id:
    default: {}
    description:
    - A dict of filters to apply
    required: false
    type: dict

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

purge_on_delete:
    description:
    - Whether to purge the content of the project on delete
    type: bool

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

project:
  description: 'Project''s up to date information

    '
  returned: on success
  type: dict