kms stack

This commit is contained in:
Pim Kunis 2023-05-03 12:06:08 +02:00
parent ab147a5543
commit 7696a28d48
3 changed files with 24 additions and 0 deletions

View file

@ -13,3 +13,4 @@
- {role: overleaf, tags: overleaf} - {role: overleaf, tags: overleaf}
- {role: cyberchef, tags: cyberchef} - {role: cyberchef, tags: cyberchef}
- {role: inbucket, tags: inbucket} - {role: inbucket, tags: inbucket}
- {role: kms, tags: kms}

View file

@ -0,0 +1,8 @@
# vi: ft=yaml
version: '3.7'
services:
kms-server:
image: teddysun/kms
ports:
- 1688:1688

View file

@ -0,0 +1,15 @@
- name: Create working directory
file:
path: /srv/kms
state: directory
- name: Copy Docker stack file
template:
src: "{{ role_path }}/docker-stack.yml.j2"
dest: /srv/kms/docker-stack.yml
- name: Deploy Docker stack
docker_stack:
name: kms
compose:
- /srv/kms/docker-stack.yml