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

25 lines
600 B
YAML
Raw Normal View History

2021-01-20 23:03:13 +01:00
---
2023-10-29 15:42:13 +01:00
- name: Run Optional Versioncheck
ansible.builtin.include_tasks:
file: 'versioncheck.yml'
when: submodules_versioncheck | bool
2021-01-21 20:50:04 +01:00
2023-10-29 15:42:13 +01:00
- name: Add apt repos and install rspamd
ansible.builtin.include_tasks:
file: 'packages.yml'
2021-01-21 20:50:04 +01:00
when: ansible_os_family == 'Debian'
2023-10-29 15:42:13 +01:00
- name: Configure rspamd
ansible.builtin.include_tasks:
file: 'configure.yml'
2021-01-25 00:06:10 +01:00
2023-10-29 15:42:13 +01:00
- name: Rspamd dkim signing
ansible.builtin.include_tasks:
file: 'dkim.yml'
2022-04-07 23:27:51 +02:00
when: rspamd__configure_dkim | bool
2021-01-26 00:56:16 +01:00
2023-10-29 15:42:13 +01:00
- name: Redis backend
ansible.builtin.include_tasks:
file: 'redis.yml'
2022-04-07 23:27:51 +02:00
when: rspamd__configure_redis | bool