Add diun role

This commit is contained in:
Marty Oehme 2024-06-25 12:20:46 +02:00
parent b6f7934c5f
commit e8447a6289
Signed by: Marty
GPG key ID: EDBF2ED917B2EF6A
7 changed files with 116 additions and 0 deletions

12
roles/diun/tasks/main.yml Normal file
View file

@ -0,0 +1,12 @@
---
## install diun container
- name: Deploy diun to swarm
community.general.docker_stack:
name: "{{ stack_name }}"
state: present
prune: yes
compose:
- "{{ stack_compose }}"
become: true
tags:
- docker-swarm