markuman / markuman.devops / 1.0.0 / module / gitlab_merge_request_comment write messages to gitlab merge requests | "added in version" 1.0.0 of markuman.devops" Authors: Markus Bergholz (@markuman)markuman.devops.gitlab_merge_request_comment (1.0.0) — module
Install with ansible-galaxy collection install markuman.devops:==1.0.0
collections: - name: markuman.devops version: 1.0.0
write messages to gitlab merge requests.
works only if `CI_OPEN_MERGE_REQUESTS` is defined
it's designed to run inside gitlab ci/cd pipeline
- name: post message markuman.scm.gitlab_merge_request_comment: api_url: gitlab.com comment: | Summary | some | table | | --- | --- | | yes | 🐧 |
api_url: description: - Your gitlab url required: true type: str comment: description: - Comment message. required: true type: str api_token: description: - API Token. - If not provided, it's read from ENV ANSIBLE_GITLAB_API_TOKEN required: false type: str