From ca4b59c3ecc0e70ebcf6cc5f5732a8d3047e4413 Mon Sep 17 00:00:00 2001 From: A Holt Date: Tue, 1 Sep 2020 22:37:54 -0400 Subject: [PATCH] mongodb/tasks/install.yml Debian revision, thanks to @jvonau's https://github.com/iiab/iiab/pull/2499/commits/d6a3c589ca954934ccfabc451cbcab8a5272f187 --- 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 143a10838..eb40db071 100644 --- a/roles/mongodb/tasks/install.yml +++ b/roles/mongodb/tasks/install.yml @@ -72,9 +72,9 @@ args: warn: false - - name: Use mongodb-org's Debian buster repo for Debian (only amd64 support available) + - name: Use mongodb-org's Debian repo for Debian (only amd64 support available) apt_repository: - repo: deb http://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main + repo: deb http://repo.mongodb.org/apt/debian {{ ansible_distribution_release }}/mongodb-org/4.4 main state: present filename: mongodb-org when: is_debian and (ansible_architecture == "x86_64") @@ -85,7 +85,7 @@ repo: deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.4 multiverse state: present filename: mongodb-org - when: (ansible_architecture == "aarch64" and is_raspbian) + when: is_raspbian and (ansible_architecture == "aarch64") - name: Use mongodb-org's Ubuntu focal repo for Linux Mint - 64bit only apt_repository: