diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-08 02:56:59 -0500 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-01-08 02:56:59 -0500 |
commit | 2227a2c0aa044b22eff4cd5355c1f30f31bb77ad (patch) | |
tree | 9e18c094ef744125527963456fccd9d29aa1223e /roles/roundcube/tasks | |
parent | ce4c85dd6f99506128bb125e26728a7416660397 (diff) | |
download | oldinfra-2227a2c0aa044b22eff4cd5355c1f30f31bb77ad.tar.gz oldinfra-2227a2c0aa044b22eff4cd5355c1f30f31bb77ad.zip |
roundcube
Diffstat (limited to 'roles/roundcube/tasks')
-rw-r--r-- | roles/roundcube/tasks/main.yml | 22 |
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 |