From 387db22f83a3959f1480c1470ccd5a0459407918 Mon Sep 17 00:00:00 2001 From: Ricard Illa Date: Sun, 4 Jun 2023 20:17:58 +0200 Subject: [PATCH] feat: misc adjustments for kitchen --- deploy.yml | 5 +++++ hosts.yml | 2 ++ roles/repos/templates/apk/repositories.j2 | 6 ------ 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/deploy.yml b/deploy.yml index 70709c8..b39f222 100644 --- a/deploy.yml +++ b/deploy.yml @@ -40,6 +40,7 @@ - name: mounts hosts: - suricata + - kitchen become: true roles: - mounts @@ -62,6 +63,7 @@ - name: lbu.conf hosts: - suricata + - kitchen become: true roles: - lbu_conf @@ -70,6 +72,7 @@ - name: setup_apkcache hosts: - suricata + - kitchen become: true roles: - apk_cache @@ -82,6 +85,7 @@ - snitch - suricata # - pikvm + - kitchen become: true roles: - users @@ -103,6 +107,7 @@ - fugu - narwhal - suricata + - kitchen become: true roles: - quality_of_life diff --git a/hosts.yml b/hosts.yml index 50c7f4a..e8654b3 100644 --- a/hosts.yml +++ b/hosts.yml @@ -49,7 +49,9 @@ all: alpine_version: v3.18 alpine_repos: - main + - community lbu_media: mmcblk0p2 + apk_cache_dir: /media/mmcblk0p2/cache mounts: - src: "/dev/mmcblk0p1" path: "/media/mmcblk0p1" diff --git a/roles/repos/templates/apk/repositories.j2 b/roles/repos/templates/apk/repositories.j2 index 94fd3ac..080ced8 100644 --- a/roles/repos/templates/apk/repositories.j2 +++ b/roles/repos/templates/apk/repositories.j2 @@ -1,9 +1,3 @@ -#http://dl-cdn.alpinelinux.org/alpine/v3.16/main -#http://dl-cdn.alpinelinux.org/alpine/v3.16/community -#http://dl-cdn.alpinelinux.org/alpine/edge/main -#http://dl-cdn.alpinelinux.org/alpine/edge/community -#http://dl-cdn.alpinelinux.org/alpine/edge/testing - {% for repo in alpine_repos %} http://dl-cdn.alpinelinux.org/alpine/{{ alpine_version }}/{{ repo }} {% endfor %}