diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:34 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-08-11 00:33:34 +0200 |
| commit | 6b20b109fd455ffa71351890a18940e7da326229 (patch) | |
| tree | bf429579ddb5f22d06286f5d4670965676fc7af7 /roles/bootstrap/tasks | |
| parent | 4e96a9abb248290a72a5bcf088ba16c1d6e2ab71 (diff) | |
Make bootstrap raspberry more detailed with minimal setup
Diffstat (limited to 'roles/bootstrap/tasks')
| -rw-r--r-- | roles/bootstrap/tasks/install-raspberry.yml | 3 | ||||
| -rw-r--r-- | roles/bootstrap/tasks/main.yml | 2 |
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: |
