Fix some ansible warnings

This commit is contained in:
Shane McDonald
2019-06-04 20:37:03 -04:00
parent a13b733191
commit 99704af302

View File

@@ -43,15 +43,18 @@
- name: Build sdist builder image - name: Build sdist builder image
docker_image: docker_image:
buildargs: build:
path: "{{ role_path }}/files"
dockerfile: Dockerfile.sdist
pull: no
args:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}" https_proxy: "{{ https_proxy | default('') }}"
no_proxy: "{{ no_proxy | default('') }}" no_proxy: "{{ no_proxy | default('') }}"
path: "{{ role_path }}/files"
dockerfile: Dockerfile.sdist
name: awx_sdist_builder name: awx_sdist_builder
tag: "{{ awx_version }}" tag: "{{ awx_version }}"
force: true source: 'build'
force_source: true
delegate_to: localhost delegate_to: localhost
when: use_container_for_build|default(true)|bool when: use_container_for_build|default(true)|bool
@@ -183,29 +186,34 @@
- name: Build base web image - name: Build base web image
docker_image: docker_image:
buildargs: build:
path: "{{ docker_base_path }}"
dockerfile: Dockerfile
pull: no
args:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}" https_proxy: "{{ https_proxy | default('') }}"
no_proxy: "{{ no_proxy | default('') }}" no_proxy: "{{ no_proxy | default('') }}"
path: "{{ docker_base_path }}"
dockerfile: Dockerfile
name: "{{ web_image }}" name: "{{ web_image }}"
tag: "{{ awx_version }}" tag: "{{ awx_version }}"
force: yes source: 'build'
force_source: yes
delegate_to: localhost delegate_to: localhost
- name: Build base task image - name: Build base task image
docker_image: docker_image:
buildargs: build:
path: "{{ docker_base_path }}"
dockerfile: Dockerfile.task
pull: no
args:
http_proxy: "{{ http_proxy | default('') }}" http_proxy: "{{ http_proxy | default('') }}"
https_proxy: "{{ https_proxy | default('') }}" https_proxy: "{{ https_proxy | default('') }}"
no_proxy: "{{ no_proxy | default('') }}" no_proxy: "{{ no_proxy | default('') }}"
path: "{{ docker_base_path }}"
dockerfile: Dockerfile.task
name: "{{ task_image }}" name: "{{ task_image }}"
tag: "{{ awx_version }}" tag: "{{ awx_version }}"
pull: no source: 'build'
force: yes force_source: yes
delegate_to: localhost delegate_to: localhost
- name: Tag task and web images as latest - name: Tag task and web images as latest