aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <alex@pdp7.net>2026-01-03 15:17:52 +0100
committeralex <alex@pdp7.net>2026-01-03 15:17:52 +0100
commitf6153046813ed905301c53c5dc703d70843be566 (patch)
tree8c7e046de45eae038f497dd7cc918d32d34938f8
parent998a2fb1000cce3732af30cfdcf3923413091322 (diff)
Use a VM instead of a container
I could not get nested Podman working well
-rw-r--r--infrastructure/README.md2
-rw-r--r--infrastructure/roles/incus_provision/tasks/main.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/infrastructure/README.md b/infrastructure/README.md
index bd49dcf..f4f6a97 100644
--- a/infrastructure/README.md
+++ b/infrastructure/README.md
@@ -44,7 +44,7 @@ uv run ansible-playbook -K -i local-exec.yaml -i production.yaml site.yaml
## Testing
With Incus installed, edit `local_incus.hosts.ñix.es.ansible_incus_project` in `incus-test-local.yaml` with your project from `incus project list`.
-Then, you can use the following command to create a test container on Incus and deploy:
+Then, you can use the following command to create a test VM on Incus and deploy:
```
uv run ansible-playbook -i production.yaml -i incus-test-local.yaml site.yaml
diff --git a/infrastructure/roles/incus_provision/tasks/main.yaml b/infrastructure/roles/incus_provision/tasks/main.yaml
index e4015a6..5ef6ad7 100644
--- a/infrastructure/roles/incus_provision/tasks/main.yaml
+++ b/infrastructure/roles/incus_provision/tasks/main.yaml
@@ -1,5 +1,5 @@
- name: create incus container
- ansible.builtin.shell: incus info incus-test-xn--ix-yja-es || incus launch images:debian/13 incus-test-xn--ix-yja-es
+ ansible.builtin.shell: incus info incus-test-xn--ix-yja-es || incus launch images:debian/13 incus-test-xn--ix-yja-es --vm
delegate_to: 127.0.0.1
- name: install python
ansible.builtin.raw: apt install -y python3