From b11a608adbad04f1964464069584fc3de5ef935c Mon Sep 17 00:00:00 2001 From: A Holt Date: Thu, 13 Oct 2022 14:44:10 -0400 Subject: [PATCH] Clarify PR #3397: Force libssl1.1 on Mint 21 too --- roles/mongodb/tasks/install.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/roles/mongodb/tasks/install.yml b/roles/mongodb/tasks/install.yml index dd2a8c3fc..64f171440 100644 --- a/roles/mongodb/tasks/install.yml +++ b/roles/mongodb/tasks/install.yml @@ -111,19 +111,19 @@ # sudo apt-get install libssl1.1 # rm /etc/apt/sources.list.d/focal-security.list - - name: Install source/repo "deb http://security.ubuntu.com/ubuntu focal-security main" at /etc/apt/sources.list.d/security_ubuntu_com_ubuntu.list if Ubuntu 22.04+ + - name: Install source/repo "deb http://security.ubuntu.com/ubuntu focal-security main" at /etc/apt/sources.list.d/security_ubuntu_com_ubuntu.list if Ubuntu 22.04+ or Mint 21 apt_repository: repo: deb http://security.ubuntu.com/ubuntu focal-security main #filename: focal-security # If filename focal-security.list is preferred when: is_ubuntu and os_ver is version('ubuntu-2204', '>=') or is_linuxmint_21 - - name: Install libssl1.1 if Ubuntu 22.04+ (required by MongoDB below) + - name: Install libssl1.1 if Ubuntu 22.04+ or Mint 21 (required by MongoDB below) package: name: libssl1.1 state: present when: is_ubuntu and os_ver is version('ubuntu-2204', '>=') or is_linuxmint_21 - - name: Remove source/repo "deb http://security.ubuntu.com/ubuntu focal-security main" at /etc/apt/sources.list.d/security_ubuntu_com_ubuntu.list if Ubuntu 22.04+ + - name: Remove source/repo "deb http://security.ubuntu.com/ubuntu focal-security main" at /etc/apt/sources.list.d/security_ubuntu_com_ubuntu.list if Ubuntu 22.04+ or Mint 21 apt_repository: repo: deb http://security.ubuntu.com/ubuntu focal-security main state: absent