From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA4E01CD1E4 for ; Sat, 6 Dec 2025 16:58:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765040314; cv=none; b=IO7KOWt/oXd194KFJSaPocclurDCw1u120kxcZM/9JIVuyCHnRdnGtTVtYiwQAteBA5TN1wNoIS+siidjvfYcdBs0R5pSMkf5ZEExoXpTJTJ1eYYy3UU9uAzAyqm4KrDmAap8gyTfdRM7558y5rG07EDqVA7PCvYDGHCNpr7QOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765040314; c=relaxed/simple; bh=DH8BUw89qtCwqy6lOQynZYrh4LttU+NDz1xCGeSI/fc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YwNBYUO58UOmlAH6Sx20eNTL1wQBj5f4XvWOhsLgZwYgZ8u70+7yMLMPyS30VmWxXxV0n4ewKoNwTyceHCnr3dZ6qnftJEkqhO5fqj10orm67ofRK2tUoHr9QIwwOB9M2P40CWkTub7ONcDkB9elRF0En+n11k7eN4G2GwBlOb0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=2iA9nsJd; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="2iA9nsJd" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description; bh=pyexo8yeGd8wp+YfGktx9O6ek8UX0K9L17uXkg3726s=; b=2iA9nsJdppQBb2jU4eJ0XzZIbk NRGLbQTMm8mDw3k0/6/4Jt4LUV7TFNWhUebGhdyc2ejyuVKADI+ZlEm483VegGxXaWyta9DsZ6T+4 FduHvOX3jNfBQcI9mv3YYhNEDPJ/uc/kSua/W3lKDG8+4w0mW5sH2DFn0LMuM5fV5dEo4PmVwAsUw fFpXi8raQtN6xCUU3UZWbJHz6+RFkwjEH7smeQOZxusCiMwIEnlwWvcI7OJODZ1Xs7Q+FE0vQYtI/ gmeulj1luZVFCwP5w4zS+hGLuJnDrNMroRuLhYmWxK2UdoBVLBkJFLLF7fA3h9x5scVr/7hSRVjb7 mlhUMFmg==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vRvc8-0000000B4t9-22Ku; Sat, 06 Dec 2025 16:58:32 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 3/8] terraform: Enable fact gathering for localhost Date: Sat, 6 Dec 2025 08:56:17 -0800 Message-ID: <20251206165624.2640158-4-mcgrof@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251206165624.2640158-1-mcgrof@kernel.org> References: <20251206165624.2640158-1-mcgrof@kernel.org> Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: Luis Chamberlain The terraform role uses ansible_system and ansible_architecture variables to determine the correct installation path for the DataCrunch terraform provider. These variables are Ansible facts that are only available after fact gathering runs. Enable gather_facts in the terraform playbook so these variables are available when the role executes. This fixes the error when running make bringup with DataCrunch provider where ansible_system was undefined. Generated-by: Claude AI Signed-off-by: $(git config user.name) <$(git config user.email)> --- playbooks/terraform.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/terraform.yml b/playbooks/terraform.yml index 61a16a2c..3372b927 100644 --- a/playbooks/terraform.yml +++ b/playbooks/terraform.yml @@ -1,6 +1,6 @@ --- - name: Manage infrastructure lifecycle and SSH access with Terraform hosts: localhost - gather_facts: false + gather_facts: true roles: - role: terraform -- 2.51.0