infra/ansible/roles/mailcow/handlers/main.yml
Graham McIntire ee72c64246
fix: resolve best practice and lint violations
- Convert ~290 short module names to FQCNs across all roles
- Change become: yes/no to become: true/false, gather_facts: no to false
- Remove deprecated inject_facts_as_vars from ansible.cfg
- Add missing task names to import_tasks/include_role calls
- Add become: yes to librenms clone task (partial-become fix)
- Add pipefail to risky shell command in udp-gro-fix.yml
- Quote all octal mode values
- Harden .ansible-lint with production profile and empty skip_list
- Update findings.md with all fixes
2026-06-04 14:34:23 -05:00

15 lines
277 B
YAML

---
# Handlers for Mailcow
- name: restart mailcow
ansible.builtin.systemd:
name: mailcow
state: restarted
daemon_reload: true
become: true
- name: reload mailcow
ansible.builtin.command: docker compose restart
args:
chdir: "{{ mailcow_base_path }}"