From cc3a0f9ff95fb99f7c845d56827eda1cdeab286b Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 13 Jan 2025 09:48:57 +0100 Subject: [PATCH] force Vagrant to use the "new" API URL It seems Vagrant has introduced a new API and their proprietary client does use that by default now, so they turned off the old one (or the redirect, I really have no idea what was there last week). Just setting the new URL (which I found out by using `vagrant --debug`) as the server URL works for now, so let's do that, and at least unblock nightlies. --- roles/forklift/tasks/up.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/forklift/tasks/up.yml b/roles/forklift/tasks/up.yml index 7a6231616..eff544193 100644 --- a/roles/forklift/tasks/up.yml +++ b/roles/forklift/tasks/up.yml @@ -29,6 +29,8 @@ command: "vagrant up --no-parallel {{ forklift_boxes.keys()|join(' ') }}" args: chdir: "{{ forklift_directory }}" + environment: + VAGRANT_SERVER_URL: https://vagrantcloud.com/api/v2/vagrant always: - name: Remove lock file ansible.builtin.file: