Adding Twenty CRM

This commit is contained in:
Ian Roddis
2026-05-02 09:03:08 -03:00
parent c32d528518
commit f282cacf27
10 changed files with 248 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
---
- name: Create Twenty CRM directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: '0755'
loop:
- "{{ twenty_data_dir }}"
- "{{ twenty_data_dir }}/data"
- name: Deploy Twenty CRM docker-compose
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ twenty_data_dir }}/docker-compose.yml"
mode: '0644'
notify: restart twenty
- name: Start Twenty CRM
community.docker.docker_compose_v2:
project_src: "{{ twenty_data_dir }}"
state: present
when: not (molecule_test_mode | default(false))