playbook/build-docker: do not gather facts and register build of docker
Signed-off-by: Marc Mattmüller <marc.mattmueller@netmodule.com>
This commit is contained in:
parent
b25d6f32d3
commit
72a8b96ea0
|
|
@ -1,9 +1,11 @@
|
||||||
- name: Build Jenkins Docker Image
|
- name: Build Jenkins Docker Image
|
||||||
hosts: linux
|
hosts: linux
|
||||||
|
gather_facts: false
|
||||||
vars:
|
vars:
|
||||||
root_path: "~/nwl-ci"
|
root_path: "~/nwl-ci"
|
||||||
tasks:
|
tasks:
|
||||||
- name: Build the Jenkins Image
|
- name: Build the Jenkins Image
|
||||||
|
register: buildDocker
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
docker build -t jenkins:nwl-0.0.1 .
|
docker build -t jenkins:nwl-0.0.1 .
|
||||||
args:
|
args:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue