playbook/build-docker: using shell as the docker module is not available
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
29e807db1b
commit
b25d6f32d3
|
|
@ -4,8 +4,8 @@
|
|||
root_path: "~/nwl-ci"
|
||||
tasks:
|
||||
- name: Build the Jenkins Image
|
||||
community.docker.docker_image:
|
||||
name: nwl-jenkins
|
||||
build:
|
||||
path: "{{root_path}}/docker"
|
||||
source: build
|
||||
ansible.builtin.shell: |
|
||||
docker build -t jenkins:nwl-0.0.1 .
|
||||
args:
|
||||
chdir: "{{root_path}}/docker"
|
||||
executable: /bin/bash
|
||||
|
|
|
|||
Loading…
Reference in New Issue