- name: Build Jenkins Docker Image
hosts: linux
vars:
root_path: "~/nwl-ci"
tasks:
- name: Build the Jenkins Image
community.docker.docker_image:
name: nwl-jenkins
build:
path: "{{root_path}}/docker"
source: build