Add diun role
This commit is contained in:
parent
b6f7934c5f
commit
e8447a6289
7 changed files with 116 additions and 0 deletions
12
roles/diun/tasks/main.yml
Normal file
12
roles/diun/tasks/main.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue