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

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