From 9c7f4fad4658dcef3ac5ebb62b3feb0195e1f140 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Wed, 8 Dec 2021 15:58:45 +0000 Subject: [PATCH] Make sure /usr/bin/python is present for mailman Mailman v2.1 is still a Python2-only application, and expects /usr/bin/python to be present. On Ubuntu Focal, there is no such symlink provided by the Python 2.7 packages, and an extra python-is-python2 transitional package is used to explicitly create it in cases where that's required. Change-Id: I37ca2bd7011afdb3b97e34cdc24ff455b9fb0498 --- playbooks/roles/mailman/tasks/main.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/playbooks/roles/mailman/tasks/main.yaml b/playbooks/roles/mailman/tasks/main.yaml index 32f0fcad2d..706f7e6e66 100644 --- a/playbooks/roles/mailman/tasks/main.yaml +++ b/playbooks/roles/mailman/tasks/main.yaml @@ -21,6 +21,7 @@ package: name: - mailman + - python-is-python2 state: present # Install index.html, robots.txt