Files
sovereign/roles/roundcube/tasks/main.yml
T
2026-03-23 14:29:32 -03:00

21 lines
494 B
YAML

---
- name: Create Roundcube directories
ansible.builtin.file:
path: "{{ item }}"
state: directory
mode: '0755'
loop:
- "{{ roundcube_data_dir }}"
- name: Deploy Roundcube docker-compose
ansible.builtin.template:
src: docker-compose.yml.j2
dest: "{{ roundcube_data_dir }}/docker-compose.yml"
mode: '0644'
notify: restart roundcube
- name: Start Roundcube
community.docker.docker_compose_v2:
project_src: "{{ roundcube_data_dir }}"
state: present