mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 10:10:01 -03:30
Rework installer to support local minishift environment
This also adds an option to *not* use the local container for building the software distribution which is required for a local minishift environment based install
This commit is contained in:
@@ -59,8 +59,9 @@
|
||||
tag: "{{ awx_version }}"
|
||||
force: true
|
||||
delegate_to: localhost
|
||||
when: use_container_for_build|bool
|
||||
|
||||
- name: Build AWX distribution
|
||||
- name: Build AWX distribution using container
|
||||
docker_container:
|
||||
env:
|
||||
http_proxy: "{{ http_proxy | default('') }}"
|
||||
@@ -73,6 +74,14 @@
|
||||
volumes:
|
||||
- ../:/awx:Z
|
||||
delegate_to: localhost
|
||||
when: use_container_for_build|bool
|
||||
|
||||
- name: Build AWX distribution locally
|
||||
shell: make sdist
|
||||
args:
|
||||
chdir: ..
|
||||
delegate_to: localhost
|
||||
when: not use_container_for_build|bool
|
||||
|
||||
- name: Set docker build base path
|
||||
set_fact:
|
||||
|
||||
Reference in New Issue
Block a user