owner: The GitHub account that owns the repository (Aliases: user, mandatory)
repo: Repository name (mandatory)
tag: Tag to retrieve, defaults to latest
Examples
- name: Get metadata for latest Ansible releasegithub_release_metadata:
owner: ansiblerepo: ansible
- name: Get metadata for specific Ansible releasegithub_release_metadata:
owner: ansiblerepo: ansibletag: v2.5.0b1
Return values
metadata:
description: GitHub release metadatareturned: alwaystype: dictstatus:
description: The HTTP status code from the request.returned: alwaystype: inturl:
description: The actual URL used for the request.returned: alwaystype: str