ansible / ansible.memsource / 1.0.1 / module / memsource_project_info Get the recent project from Memsource on passing the project name parameter. | "added in version" 0.0.1 of ansible.memsource" Authors: Yanis Guenane (@Spredzy)ansible.memsource.memsource_project_info (1.0.1) — module
Install with ansible-galaxy collection install ansible.memsource:==1.0.1
collections: - name: ansible.memsource version: 1.0.1
Get the recent project from Memsource on passing the project name parameter
- name: Get Project by Project Name ansible.memsource.memsource_project_info: project_name: "{{ project_name }}" register: _project
- name: Set Project UID from project name {{ _project }} set_fact: project_uid: "{{ _project.projects.content[0].uid }}"
project_name: description: - A string passed as the project name which matches the project name on Memsource 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
project: description: 'Returns the json response for the specified project name ' returned: on success type: dict