From 27df645c086aea9b8b2ae188078100f7a2616d46 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 27 May 2019 15:36:57 +0100 Subject: [PATCH] Only add antergos repo if we're running on antergos --- files/pacman.conf | 2 ++ tasks/packages.yml | 2 +- vars.yml | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/files/pacman.conf b/files/pacman.conf index 3a0f6be..51166f2 100644 --- a/files/pacman.conf +++ b/files/pacman.conf @@ -88,9 +88,11 @@ Include = /etc/pacman.d/mirrorlist [multilib] Include = /etc/pacman.d/mirrorlist +{% if antergos %} [antergos] SigLevel = PackageRequired Include = /etc/pacman.d/antergos-mirrorlist +{% endif %} [sublime-text] Server = https://download.sublimetext.com/arch/stable/x86_64 diff --git a/tasks/packages.yml b/tasks/packages.yml index 76ae9de..3b8606c 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -6,7 +6,7 @@ - '748231EBCBD808A14F5E85D28C004C2F93481F6B' # Opensnitch - name: Install pacman config - copy: + template: src: ./files/pacman.conf dest: /etc/pacman.conf mode: 0644 diff --git a/vars.yml b/vars.yml index 28cc9ed..0ae69cc 100644 --- a/vars.yml +++ b/vars.yml @@ -1,2 +1,3 @@ user: jake home: "/home/{{ user }}" +antergos: true