summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks
diff options
context:
space:
mode:
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: