mirror of
https://github.com/ansible/awx.git
synced 2026-03-26 05:15:02 -02:30
@@ -1,11 +1,12 @@
|
|||||||
FROM centos:7
|
FROM centos:7
|
||||||
|
|
||||||
RUN yum install -y epel-release
|
RUN yum install -y epel-release
|
||||||
|
RUN yum install -y https://centos7.iuscommunity.org/ius-release.rpm
|
||||||
|
|
||||||
RUN yum install -y bzip2 \
|
RUN yum install -y bzip2 \
|
||||||
gcc-c++ \
|
gcc-c++ \
|
||||||
gettext \
|
gettext \
|
||||||
git \
|
git2u-core \
|
||||||
make \
|
make \
|
||||||
python \
|
python \
|
||||||
python-pip
|
python-pip
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Get Version from checkout if not provided
|
- name: Get Version from checkout if not provided
|
||||||
shell: "git describe --long | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
|
shell: "git describe --long --first-parent | sed 's/\\-g.*//' | sed 's/\\-/\\./'"
|
||||||
delegate_to: localhost
|
delegate_to: localhost
|
||||||
register: awx_version_command
|
register: awx_version_command
|
||||||
when: awx_version is not defined
|
when: awx_version is not defined
|
||||||
|
|||||||
Reference in New Issue
Block a user