Adds docker installation steps (#15)

This commit is contained in:
Chris Houseknecht
2017-08-31 22:21:25 -04:00
committed by GitHub
parent c1ffa6e5d9
commit e2a0fd7b0b
10 changed files with 445 additions and 54 deletions

View File

@@ -34,17 +34,25 @@
debug:
msg: "{{ awx_sdist_file }}"
- name: Stat distribution file
stat:
path: "../dist/{{ awx_sdist_file }}"
delegate_to: localhost
register: sdist
- name: Clean distribution
shell: make clean
args:
chdir: ..
ignore_errors: yes
when: not sdist.stat.exists
delegate_to: localhost
- name: Build AWX distribution
shell: make sdist
args:
chdir: ..
creates: "../dist/{{ awx_sdist_file }}"
creates: "./dist/{{ awx_sdist_file }}"
delegate_to: localhost
- name: Set docker build base path
@@ -155,3 +163,4 @@
path: "{{ docker_base_path }}"
state: absent
when: cleanup_docker_base|default(True)
delegate_to: localhost