- name: Update mailcow (update.sh) hosts: all vars: github_mailcow_ver: "2025-09b" # GitHub Version Tag | Value to compare the current running mailcow version to. disk_space_percent_max: "97" # Number in percent | Defines the max allowed disk utilization until ansible is not updating mailcow automatically debug: true # Or False if you dont' wanna see verbose outputs of role outputs tasks: - import_role: name: roles/managed-mailcow tasks_from: find-mailcow-composedir.yml - import_role: name: roles/managed-mailcow tasks_from: install-mailcow-components.yml - import_role: name: roles/managed-mailcow tasks_from: update-mailcow.yml - import_role: name: roles/docker tasks_from: restart-daemon.yml when: github_mailcow_ver == "2025-09b" # Only restart docker if mailcow was updated - import_role: name: roles/docker tasks_from: cleanup-all.yml