service-status-app

Service
Log | Files | Refs | README

commit ac8c1788907f492b00c124f98584a203f5ead18f
parent 9928e8a1605c38c9d1cd186e642d2becb5e03546
Author: Karl Eklund <localpart@gmail.com>
Date:   Sat, 28 Mar 2026 14:23:41 +0100

Build the image

Diffstat:
Ahosts | 2++
Aplaybook.yml | 12++++++++++++
2 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/hosts b/hosts @@ -0,0 +1,2 @@ +[app] +127.0.0.1 ansible_connection=local ansible_python_interpreter=/usr/bin/python3 diff --git a/playbook.yml b/playbook.yml @@ -0,0 +1,12 @@ +--- +- hosts: app + tasks: + - name: Build Docker image + docker_image: + name: service-status-app + state: present + source: build + build: + path: "{{ playbook_dir }}/python_app" + rm: true + tag: latest