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
2023-10-29 15:42:13 +01:00

24 lines
600 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
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