Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0F11D33A9D9 for ; Fri, 19 Dec 2025 18:02:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766167348; cv=none; b=fD/PhB0KHDhNRL7f8Rem2awQ/DdjStb6hUA0OaaGulLrA+LXinQ1rC84JAPIV2A0M4ONWjJbg3XnWeUZDf7M9BJxGclUxI4NEH6HGH+YzYWjooT3ACj/251NVj1DyIao+3QAZjJ0KtLkS/iWO5IKYAX67+rNosuXo2SKcyuHsLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766167348; c=relaxed/simple; bh=gLSZOA6mGcgncRhVFMqGZPVBi4XceGV1BNTzPiiNrBY=; h=MIME-Version:Date:From:To:Cc:Message-Id:In-Reply-To:References: Subject:Content-Type; b=dmdD8xaFhOdwBlCfMI8ETfbSR+aOQPfZq1wswyEdt3KMQ9Nvkx6koiomJRWE60/xU89QACAXt1vVYesasV31xZk5mv1DGvcVBzjlfrT/2z7uz3hrInIcE9rREo8KwvWDtIUxZZ68VG+SHSN5XKBFnPFmdYTHjeV7NLPaCD6n/Yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=WLiu3bZ6; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="WLiu3bZ6" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 500D6C4CEF1; Fri, 19 Dec 2025 18:02:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1766167347; bh=gLSZOA6mGcgncRhVFMqGZPVBi4XceGV1BNTzPiiNrBY=; h=Date:From:To:Cc:In-Reply-To:References:Subject:From; b=WLiu3bZ6UhTP9eLYSotMYb3luASG86ZhbJYny+TCkrzEaXv94KFgeLoDCf4IIY7Dy tqqt+Z4JdaieJZJ1bXXZbvPsadpjtLzt1KigNCp16Rt/v5qAI5031uUqXL9VIh6MTJ ue6u2Gh6sVBAnMN1osx+jjdPDEWlwdEeIv8O0/TsQTo4jeF2czxUh1xpiFRkwx1MQE jn2lpp60KE8n/se8pgD3Vjm3k6UfHmHFOBmk7GOjXFb9+0MnN7XZWLbl0QH6X2aAeE YH8pVbkCa5fX2mFr77wrP2LP1nQFkEPpBhnAcCm/u4vDrh8BlICivMr0uuz1lpUsis /EWkuCEQBFb7Q== Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfauth.phl.internal (Postfix) with ESMTP id 4AAEDF4006C; Fri, 19 Dec 2025 13:02:26 -0500 (EST) Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-10.internal (MEProxy); Fri, 19 Dec 2025 13:02:26 -0500 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdegkeeljecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefoggffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdevhhhutghk ucfnvghvvghrfdcuoegtvghlsehkvghrnhgvlhdrohhrgheqnecuggftrfgrthhtvghrnh ephfffkefffedtgfehieevkeduuefhvdejvdefvdeuuddvgeelkeegtefgudfhfeelnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheptghhuhgtkh hlvghvvghrodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduieefgeelleel heelqdefvdelkeeggedvfedqtggvlheppehkvghrnhgvlhdrohhrghesfhgrshhtmhgrih hlrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphht thhopegurgdrghhomhgviieskhgvrhhnvghlrdhorhhgpdhrtghpthhtohepmhgtghhroh hfsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehkuggvvhhophhssehlihhsthhsrdhl ihhnuhigrdguvghv X-ME-Proxy: Feedback-ID: ifa6e4810:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 2A69A78006C; Fri, 19 Dec 2025 13:02:26 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface Precedence: bulk X-Mailing-List: kdevops@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ThreadId: AFFBH9MlZPhc Date: Fri, 19 Dec 2025 13:02:06 -0500 From: "Chuck Lever" To: "Luis Chamberlain" , "Daniel Gomez" Cc: kdevops@lists.linux.dev Message-Id: In-Reply-To: <20251217154630.2977625-1-cel@kernel.org> References: <20251217154630.2977625-1-cel@kernel.org> Subject: Re: [PATCH] terraform: refactor tasks into provider-specific modules Content-Type: text/plain Content-Transfer-Encoding: 7bit On Wed, Dec 17, 2025, at 10:46 AM, Chuck Lever wrote: > The terraform role's main.yml had grown to nearly 800 lines with > Lambda Labs and DataCrunch provider-specific logic interleaved > throughout the file. This made maintenance difficult and required > understanding the entire file to make changes for a single provider. > > This refactoring creates a plugin-like architecture where each cloud > provider's unique requirements are isolated in dedicated task files. > The new structure separates concerns by operation (bringup, destroy) > and by provider (lambdalabs, datacrunch, generic), making it > straightforward to add support for new providers or modify existing > ones without risk of breaking other providers. > > Common functionality shared across all providers, such as SSH > configuration and status reporting, is now cleanly separated in a > common directory. This follows patterns already established in other > roles like bootlinux and guestfs. > > Generated-by: Claude AI > Signed-off-by: Chuck Lever Merged into origin/main. Chuck Lever