commit 3aa61b09d25f9878f3373ecb93e0c0c3f7bd2b6d
parent 235b25efbd9ddb5b7eef06eefca2d86b447bcac9
Author: Isa <hi@f2k1.de>
Date: Sun, 13 Jun 2021 00:22:02 +0200
parent 235b25efbd9ddb5b7eef06eefca2d86b447bcac9
Author: Isa <hi@f2k1.de>
Date: Sun, 13 Jun 2021 00:22:02 +0200
roles/common/packages: move own repos check to template
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/roles/common/tasks/packages.yml b/roles/common/tasks/packages.yml @@ -23,8 +23,6 @@ register: apk_repos when: - ansible_distribution == "Alpine" - - system.enableOwnRepos is defined - - system.enableOwnRepos is true - name: "[Archlinux] Install package: patch"
diff --git a/roles/common/templates/repositories.j2 b/roles/common/templates/repositories.j2 @@ -1,8 +1,9 @@ # # !!! This file is managed by Ansible !!! # - +{% if system.enableOwnRepos is true %} http://home.f2k1.de:8080/alpine-pkgs +{% endif %} https://dl-cdn.alpinelinux.org/alpine/{{ system.alpineVersion }}/main https://dl-cdn.alpinelinux.org/alpine/{{ system.alpineVersion }}/community {% if system.alpineVersion == "edge" %}