New in version 2.2.
Fetch metadata about Github Releases
| parameter | required | default | choices | comments |
|---|---|---|---|---|
| action | yes |
| Action to perform |
|
| repo | yes | Repository name |
||
| token | yes | Github Personal Access Token for authenticating |
||
| user | yes | The GitHub account that owns the repository |
- name: Get latest release of test/test
github:
token: tokenabc1234567890
user: testuser
repo: testrepo
action: latest_release
Common return values are documented here Common Return Values, the following are the fields unique to this module:
| name | description | returned | type | sample |
|---|---|---|---|---|
| latest_release | Version of the latest release | success | string | 1.1.0 |
For more information on what this means please read Extras Modules
For help in developing on modules, should you be so inclined, please read Community Information & Contributing, developing_test_pr and Developing Modules.
© 2012–2016 Michael DeHaan
© 2016 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/github_release_module.html