Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selecting last version of Rundeck from Packages files return wrong version #34

Open
yoborider opened this issue Apr 4, 2018 · 1 comment

Comments

@yoborider
Copy link

yoborider commented Apr 4, 2018

Hello,

$ ansible-galaxy install neel.rundeck

With the playbook file install_debian.yml (obtain with ansible-galaxy install neel.rundeck) you get the content of the Packages file (http://dl.bintray.com/rundeck/rundeck-deb/Packages)
Then, you try to find the latest package name and version with this command
shell: "echo '{{ rundeck_packages_info.content }}' | grep Filename | tail -n 1 | awk '{print $2}'"
it return : rundeck-cli_1.0.9-1_all.deb
but the current last version is : rundeck_2.10.8-1-GA_all.deb
Adapted filter would be (as a suggestion) :
cat Packages | grep Filename | grep rundeck-cli -v | sort -V | awk '{print $2}'
Only select rundeck-x.y.z-GA.deb package ordered by version

Best regards,
--Yoann

@ghost
Copy link

ghost commented Apr 12, 2018

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant