summaryrefslogtreecommitdiff
path: root/roles/roundcube/tasks/main.yml
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-08 02:56:59 -0500
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-01-08 02:56:59 -0500
commit2227a2c0aa044b22eff4cd5355c1f30f31bb77ad (patch)
tree9e18c094ef744125527963456fccd9d29aa1223e /roles/roundcube/tasks/main.yml
parentce4c85dd6f99506128bb125e26728a7416660397 (diff)
downloadoldinfra-2227a2c0aa044b22eff4cd5355c1f30f31bb77ad.tar.gz
oldinfra-2227a2c0aa044b22eff4cd5355c1f30f31bb77ad.zip
roundcube
Diffstat (limited to 'roles/roundcube/tasks/main.yml')
-rw-r--r--roles/roundcube/tasks/main.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/roundcube/tasks/main.yml b/roles/roundcube/tasks/main.yml
new file mode 100644
index 0000000..d838433
--- /dev/null
+++ b/roles/roundcube/tasks/main.yml
@@ -0,0 +1,22 @@
+---
+- name: ensure rouncube docker/compose exist
+ file:
+ path: /etc/docker/compose/roundcube
+ state: directory
+ owner: root
+ group: root
+ mode: 0700
+
+- name: build roundcube docker-compose.yml.j2
+ template:
+ src: ../templates/docker-compose.yml.j2
+ dest: /etc/docker/compose/roundcube/docker-compose.yml
+ owner: root
+ group: root
+ mode: u=rw,g=r,o=r
+
+- name: daemon-reload and enable roundcube
+ ansible.builtin.systemd_service:
+ state: restarted
+ enabled: true
+ name: docker-compose@roundcube