21 lines
448 B
YAML
21 lines
448 B
YAML
---
|
|
- name: Start Excalidraw
|
|
hosts: localhost
|
|
become: yes
|
|
vars:
|
|
mongodb_data_dir: "{{ playbook_dir }}/mongo-data"
|
|
|
|
tasks:
|
|
- name: Ensure Excalidraw directories exist and have permissions
|
|
file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
mode: '777'
|
|
loop:
|
|
- "{{ mongodb_data_dir }}"
|
|
|
|
- name: Start Excalidraw
|
|
command: docker-compose up -d
|
|
args:
|
|
chdir: "{{ playbook_dir }}"
|