supplemented ansible playbook early w. task to build container img locally before export
This commit is contained in:
@@ -18,6 +18,17 @@
|
||||
- name: Reset ssh connection to allow the user/group change to take effect
|
||||
ansible.builtin.meta: reset_connection
|
||||
|
||||
- name: Build container image locally
|
||||
community.docker.docker_image:
|
||||
name: gamearray
|
||||
source: build
|
||||
state: present
|
||||
build:
|
||||
path: ..
|
||||
platform: linux/amd64
|
||||
force_source: true
|
||||
delegate_to: 127.0.0.1
|
||||
|
||||
- name: Export container image locally
|
||||
community.docker.docker_image:
|
||||
name: gamearray
|
||||
|
||||
Reference in New Issue
Block a user