---
- name: sudo apt update
become: true
apt:
update_cache: true
- name: systemctl restart rspamd
ansible.builtin.systemd:
name: 'rspamd'
state: 'reloaded'