From f6153046813ed905301c53c5dc703d70843be566 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 3 Jan 2026 15:17:52 +0100 Subject: Use a VM instead of a container I could not get nested Podman working well --- infrastructure/README.md | 2 +- infrastructure/roles/incus_provision/tasks/main.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'infrastructure') 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 -- cgit v1.2.3