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 2CBAE1DE4F6 for ; Tue, 12 Aug 2025 00:42:54 +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=1754959375; cv=none; b=HY2oJA01ntAba0WQL/L21kD02edcxegNvijlkcm7lXEmsnIZGVlzzi7dj7k3Xk4EHe38uMD7znMJBvvwmagi+nKpy/9wX2BOHnKXI161ioT4n5w/d4VkvxXb0n6CcaOdorl3pBrxhaaKS80ucSP4pcUPy63Da2s6d1DJn17xPxI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1754959375; c=relaxed/simple; bh=zG3tAmDd8Uqe8JWUJFj/C1ddDOc+22aAWMoIgMup2cA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lcaBZL7+WJjlDBQnE5Yr6n0Hg2dBouE79mEz3I04DYNrKcNilS+s7FKYV6Blbb3pfSF9mHdLrPh73OXlsmi2xgiWMIHB0JqZLxx4OTuLQJ9zKAqSVwn6/0ZlMS7E6ooABBCHekdTuu9LfdeIz3U/WCxyO6U7Q/KFbwvLp/iAyUA= 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=M+ILYDBe; 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="M+ILYDBe" 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=P0P7fnCvfm25oRVfblCpYXQRALPnKsa0QJHhXFUksPU=; b=M+ILYDBeYcGiHjNW3XLx/8jeXJ UjwdA7A3IKT6g0JDUwBccEke31IgszE77MibC8MwsXmWq1jws3yRWNMn71JTutKlv6QdrdM7uu7pU DViM2pO529aC+juF7UtIjpDmhf5S69pTXwAKwoXd8NmpZLUwaYNlWYtVLLR4+oCRXl1KcGNHlFblP +yma6Hh83Fp1UMq6dYe0n32pI+M/HFk4SPKCNDJEby2lexkEt1NT8QKccWOqYQI64+gkURXZo9ZQT ITF666RjtL17W6vHJ/xc8ZPquMzYlzKCTJLSCw7BlnBmRORsaQ+q0Sp7VShGTPSPFcCnoArldpFFX JzL4kOsA==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uld6L-00000009T2V-385w; Tue, 12 Aug 2025 00:42:53 +0000 From: Luis Chamberlain To: Chuck Lever , Daniel Gomez , kdevops@lists.linux.dev Cc: Luis Chamberlain Subject: [PATCH 1/2] gen_hosts: fix inventory path for dedicated mmtests workflow Date: Mon, 11 Aug 2025 17:42:50 -0700 Message-ID: <20250812004252.2256571-2-mcgrof@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250812004252.2256571-1-mcgrof@kernel.org> References: <20250812004252.2256571-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 dedicated mmtests workflow generation was using kdevops_hosts variable instead of ansible_cfg_inventory, causing the generated hosts file to be placed in the wrong location. This resulted in ansible not finding the correct inventory for mmtests runs. Use ansible_cfg_inventory which correctly points to the inventory path configured in ansible.cfg, ensuring the generated hosts file is placed where ansible expects it. Fixes: 0987c30034c995 ("gen_hosts: add initial support for dedicated mmtests workflow") Generated-by: Claude AI Signed-off-by: Luis Chamberlain --- playbooks/roles/gen_hosts/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/gen_hosts/tasks/main.yml b/playbooks/roles/gen_hosts/tasks/main.yml index 15c1ddbb..4f29ce30 100644 --- a/playbooks/roles/gen_hosts/tasks/main.yml +++ b/playbooks/roles/gen_hosts/tasks/main.yml @@ -342,7 +342,7 @@ tags: [ 'hosts' ] template: src: "{{ kdevops_hosts_template }}" - dest: "{{ topdir_path }}/{{ kdevops_hosts }}" + dest: "{{ ansible_cfg_inventory }}" force: yes trim_blocks: True lstrip_blocks: True -- 2.47.2