summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'roles/bootstrap/tasks/main.yml')
-rw-r--r--roles/bootstrap/tasks/main.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml
index 50e2ce2..41ec0eb 100644
--- a/roles/bootstrap/tasks/main.yml
+++ b/roles/bootstrap/tasks/main.yml
@@ -26,7 +26,11 @@
- name: "Install raspberry"
ansible.builtin.include_tasks: "install-raspberry.yml"
- when: ansible_facts['distribution'] == "Debian" and ansible_facts['architecture'] == "aarch64"
+ when: ansible_facts['distribution'] == "Debian" and bootstrap_pi
+
+ - name: "Install proxmox"
+ ansible.builtin.include_tasks: "install-proxmox.yml"
+ when: ansible_facts['distribution'] == "Debian" and bootstrap_proxmox
- name: "Ensure ansible dependencies are installed in chroot"
ansible.builtin.command: