feat: Update incus installation role

Now uses simple external ansible galaxy role, and should install incus
from a pre-fixed seed.
This commit is contained in:
Marty Oehme 2025-11-18 16:57:39 +01:00
parent d8ed04f4d1
commit a217d65640
Signed by: Marty
GPG key ID: 4E535BC19C61886E
4 changed files with 81 additions and 224 deletions

View file

@ -1,7 +1,9 @@
---
- name: "Add incus repository to system"
## for bookworm only
- name: "Add incus repository to bookworm system"
ansible.builtin.include_tasks: add-repo.yaml
when: ansible_distribution == "Debian" and ansible_distribution_release == "bookworm"
# TODO: Should presumably be split
- name: "Install and bootstrap incus"
ansible.builtin.include_tasks: bootstrap.yaml
# TODO: there might be remaining issues on other OSes like centos, etc
- name: Install incus
ansible.builtin.include_tasks: install.yaml