redhat-cop / automate-tower

Automating Ansible Tower with Ansible (or the like)
15 stars 8 forks source link

Fix ls command to find out latest version installed #8

Closed ericzolf closed 5 years ago

ericzolf commented 5 years ago

Added -1 to make sure each found Tower directory is on its own line so that the ls output is properly parsed. Not directly related to Tower 3.3 but issue found out during upgrade because I had more than one tower installation directory.

mophahr commented 5 years ago

confirmed that the only change is the -1 option and tried ls -dv1 * in different directories to verify it behaves as expected. No further testing needed imho.