Instanceof operator was not working so changed the way of checking it
This commit is contained in:
@ -9,14 +9,16 @@
|
||||
|
||||
tasks:
|
||||
- name: Copy dockerfile
|
||||
synchronize: src=app dest=/tmp
|
||||
synchronize:
|
||||
src: app
|
||||
dest: "/tmp/{{ host_directory }}"
|
||||
|
||||
- name: Build brewman image
|
||||
docker_image:
|
||||
name: brewman:latest
|
||||
build:
|
||||
path: /tmp/app/
|
||||
dockerfile: /tmp/app/Dockerfile
|
||||
path: "/tmp/{{ host_directory }}/"
|
||||
dockerfile: "/tmp/{{ host_directory }}/Dockerfile"
|
||||
pull: yes
|
||||
state: present
|
||||
source: build
|
||||
|
||||
Reference in New Issue
Block a user