Updates to versioning system.

https://github.com/ansible/awx/issues?q=%22--first-parent%22
This commit is contained in:
Shane McDonald
2018-09-26 19:53:35 -04:00
parent 62e3b9e3b6
commit 50fe0392ed
5 changed files with 8 additions and 29 deletions

View File

@@ -1,6 +1,6 @@
---
- name: Get Version from checkout if not provided
shell: "git describe --long --first-parent | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
shell: "{{ lookup('file', playbook_dir + '/../VERSION') }}"
delegate_to: localhost
register: awx_version_command
when: awx_version is not defined