1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_rspamd.git synced 2024-08-16 17:09:51 +02:00
ansible_role_rspamd/tasks/main.yml
L3D dddbfab74a
Merge branch 'main' into u
Signed-off-by: L3D <l3d@c3woc.de>
2023-10-29 23:51:54 +01:00

25 lines
608 B
YAML

---
- name: Run Optional Versioncheck
ansible.builtin.include_tasks:
file: 'versioncheck.yml'
when: submodules_versioncheck | bool
- name: Add apt repos and install rspamd
ansible.builtin.include_tasks:
file: 'packages.yml'
when: ansible_os_family == 'Debian'
- name: Configure rspamd
ansible.builtin.include_tasks:
file: 'configure.yml'
- name: Rspamd dkim signing (TODO)
ansible.builtin.include_tasks:
file: 'dkim.yml'
when: rspamd__configure_dkim | bool
- name: Redis backend
ansible.builtin.include_tasks:
file: 'redis.yml'
when: rspamd__configure_redis | bool