--- - name: remap_sasl_passwd ansible.builtin.command: cmd: /usr/sbin/postmap /etc/postfix/sasl_passwd become: true become_method: sudo - name: remap_aliases ansible.builtin.command: cmd: /usr/sbin/postmap /etc/aliases become: true become_method: sudo - name: restart_postfix ansible.builtin.service: name: postfix state: restarted become: true become_method: sudo - name: restart_fail2ban ansible.builtin.service: name: fail2ban state: restarted become: true become_method: sudo