14 lines
343 B
YAML
14 lines
343 B
YAML
- name: Build Jenkins Docker Image
|
|
hosts: "{{ target }}"
|
|
gather_facts: false
|
|
vars:
|
|
root_path: "~/nwl-ci"
|
|
tasks:
|
|
- name: Build the Jenkins Image
|
|
register: buildDocker
|
|
ansible.builtin.shell: |
|
|
docker build -t jenkins:nwl-0.0.3 .
|
|
args:
|
|
chdir: "{{root_path}}/docker"
|
|
executable: /bin/bash
|