feat: init excalidraw repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- 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 }}"
|
||||
Reference in New Issue
Block a user