summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-08-11 00:33:34 +0200
committerAhmed Abdelhalim <[email protected]>2025-08-11 00:33:34 +0200
commit6b20b109fd455ffa71351890a18940e7da326229 (patch)
treebf429579ddb5f22d06286f5d4670965676fc7af7 /roles/bootstrap/tasks
parent4e96a9abb248290a72a5bcf088ba16c1d6e2ab71 (diff)
Make bootstrap raspberry more detailed with minimal setup
Diffstat (limited to 'roles/bootstrap/tasks')
-rw-r--r--roles/bootstrap/tasks/install-raspberry.yml3
-rw-r--r--roles/bootstrap/tasks/main.yml2
2 files changed, 3 insertions, 2 deletions
diff --git a/roles/bootstrap/tasks/install-raspberry.yml b/roles/bootstrap/tasks/install-raspberry.yml
index f19b104..b287746 100644
--- a/roles/bootstrap/tasks/install-raspberry.yml
+++ b/roles/bootstrap/tasks/install-raspberry.yml
@@ -55,7 +55,7 @@
changed_when: true
with_items:
- "apt-get update"
- - "apt-get install -y {{ bootstrap_distro.packages | join(' ') }}"
+ - "apt-get install -y --no-install-recommends {{ bootstrap_distro.packages | join(' ') }}"
- name: "Copy kernel to boot partition"
# NOTE: Copying {{ mnt_root_path }}/boot/ doesn't work
@@ -82,3 +82,4 @@
args:
executable: "bash"
changed_when: true
+ tags: ["molecule-notest"]
diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml
index 4e86312..f74e743 100644
--- a/roles/bootstrap/tasks/main.yml
+++ b/roles/bootstrap/tasks/main.yml
@@ -18,7 +18,7 @@
- name: "Install raspberry"
ansible.builtin.include_tasks: "install-raspberry.yml"
- when: ansible_distribution == "Debian"
+ when: ansible_distribution == "Debian" and ansible_architecture == "aarch64"
- name: "Ensure ansible dependencies are installed in chroot"
ansible.builtin.command: