From 1f967c2925fb2b3f67a191003dd964d25496a5fb Mon Sep 17 00:00:00 2001 From: Markus Hauschild Date: Mon, 2 Aug 2021 12:04:14 +0200 Subject: [PATCH] move installation of apt-transport-https to common --- roles/common/tasks/Debian.yml | 1 + roles/hackmd/tasks/main.yml | 3 --- roles/jitsi/tasks/main.yml | 3 --- roles/matrix/tasks/main.yml | 3 --- roles/nextcloud/tasks/main.yml | 3 --- 5 files changed, 1 insertion(+), 12 deletions(-) diff --git a/roles/common/tasks/Debian.yml b/roles/common/tasks/Debian.yml index ce2691d..22a8ef2 100644 --- a/roles/common/tasks/Debian.yml +++ b/roles/common/tasks/Debian.yml @@ -3,6 +3,7 @@ - name: Install misc software apt: name: + - apt-transport-https - dnsutils - htop - less diff --git a/roles/hackmd/tasks/main.yml b/roles/hackmd/tasks/main.yml index 26de10f..c68756c 100644 --- a/roles/hackmd/tasks/main.yml +++ b/roles/hackmd/tasks/main.yml @@ -3,9 +3,6 @@ - name: Create user user: name=hackmd -- name: Enable https for apt - apt: name=apt-transport-https - - name: Enable nodesource apt-key apt_key: url="https://deb.nodesource.com/gpgkey/nodesource.gpg.key" diff --git a/roles/jitsi/tasks/main.yml b/roles/jitsi/tasks/main.yml index b7cb867..f3eaa14 100644 --- a/roles/jitsi/tasks/main.yml +++ b/roles/jitsi/tasks/main.yml @@ -1,8 +1,5 @@ --- -- name: Ensure apt over https is available - apt: name=apt-transport-https - - name: Add Jitsi repo key apt_key: id: EF8B479E2DC1389C diff --git a/roles/matrix/tasks/main.yml b/roles/matrix/tasks/main.yml index 04cd0ac..7d33d89 100644 --- a/roles/matrix/tasks/main.yml +++ b/roles/matrix/tasks/main.yml @@ -1,8 +1,5 @@ --- -- name: Enable https for apt - apt: name=apt-transport-https - - name: Enable matrix apt-key apt_key: url="https://packages.matrix.org/debian/matrix-org-archive-keyring.gpg" diff --git a/roles/nextcloud/tasks/main.yml b/roles/nextcloud/tasks/main.yml index 6e00478..6d9af21 100644 --- a/roles/nextcloud/tasks/main.yml +++ b/roles/nextcloud/tasks/main.yml @@ -1,8 +1,5 @@ --- -- name: Enable https for apt - apt: name=apt-transport-https - - name: Enable sury php apt-key apt_key: url="https://packages.sury.org/php/apt.gpg"