Created
August 11, 2015 23:04
-
-
Save archit/82f387eb08d888a873b3 to your computer and use it in GitHub Desktop.
Determine latest release of a github repo in ansible task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tasks: | |
- name: find release | |
uri: url=https://api.github.com/repos/{{ org_name }}/{{ repo_name }}/releases/{{ release_version }} | |
user={{ auth_user }} | |
password=x-oauth-basic | |
force_basic_auth=yes | |
return_content=yes | |
register: github |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment