24 lines
494 B
YAML
24 lines
494 B
YAML
|
---
|
||
|
|
||
|
- name: Ensure mmt docker/compose exist
|
||
|
ansible.builtin.file:
|
||
|
path: /etc/docker/compose/mmt
|
||
|
state: directory
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0700
|
||
|
|
||
|
- name: Build mmt docker-compose.yml.j2
|
||
|
ansible.builtin.template:
|
||
|
src: docker-compose.yml.j2
|
||
|
dest: /etc/docker/compose/mmt/docker-compose.yml
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0700
|
||
|
|
||
|
- name: Enable mmt
|
||
|
ansible.builtin.systemd_service:
|
||
|
state: restarted
|
||
|
enabled: true
|
||
|
name: docker-compose@mmt
|