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:
Marc Mattmüller 2023-06-13 13:34:01 +02:00
parent b25d6f32d3
commit 72a8b96ea0
1 changed files with 2 additions and 0 deletions

View File

@ -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: