From mboxrd@z Thu Jan 1 00:00:00 1970 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 E18D42D9EED for ; Wed, 10 Sep 2025 19:38:54 +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=1757533135; cv=none; b=k0oUUAdLZGBYQaQl9Zyr5wtd99VpN3tHMLJ5TczTbGVunlaxzZ3TcNkdAE8g+5RGvO3mcqBenM0ntM0SXuW8mi6ml1UJxKWxz7Z88KFBsJtaOCBqpKR1UgzpLzmPhBfM0Wwr/x0SDfG2MKn7ShUNXLl3zR0Q3Qu3lktiTkZZhew= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757533135; c=relaxed/simple; bh=AFFFbjCP/Batw876wKqY/YjFK7htWg2miJTjB2VMuw4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lt6Q3ynb+CMXQaRa9itA2hOGJeH/pLZJ4n89lghLVH5P0IrxTDx29tOADtqWAPK2pfrkJ7ZOCcKLmMhqMQ83i+ay0wP7+hrSnvxe4Gem91JcFfCGdChFqwpFplnKHsEAWoNYjd8t8IGwLqX8CxLmzI54xAaiXa54ZW+76yqOt9A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hrYEpkt4; 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="hrYEpkt4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BD07C4CEEB; Wed, 10 Sep 2025 19:38:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757533134; bh=AFFFbjCP/Batw876wKqY/YjFK7htWg2miJTjB2VMuw4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hrYEpkt4J7Pk2dfhUbRyxQJgK9NZA8wIoXg4MhWPpjcD2PNj5csoQn8wgwfkOeFlQ SGUYVj8kGR4fwocqCj1KN29yX+Asz0fN9kEJPUTmDQendf88ewPVKR8OtZYsURzc2D Qv7vGCAkpH5uEb6oLStvSjPDbHHPHFMb5lDAGD4jev3SGcFeArq5dAKjboI8fdazLS a2LXLkjpq4fO4kcfgGO6xvWeuoSDWO0fRrBCq8GDMDnItiEaYnpKMadXfhR6oKZwDM SBG230+dbGCajbpojFnff71jmLplJNMycyovYp/7VIyI15E09HkxwdAcJjVaaEp9i/ KsekULxbhCewQ== From: Chuck Lever To: Cc: Chuck Lever Subject: [PATCH v1 8/8] gen_hosts: Replace pynfs hosts template Date: Wed, 10 Sep 2025 15:38:48 -0400 Message-ID: <20250910193849.779453-9-cel@kernel.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250910193849.779453-1-cel@kernel.org> References: <20250910193849.779453-1-cel@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 From: Chuck Lever Commit 40df5ef72d19 ("gen_hosts: use kdevops_workflow_name directly for template selection") appears to have removed the pynfs hosts template completely, replacing it with the "write your own" template. Fixes: 40df5ef72d19 ("gen_hosts: use kdevops_workflow_name directly for template selection") Signed-off-by: Chuck Lever --- .../gen_hosts/templates/workflows/pynfs.j2 | 36 ++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/playbooks/roles/gen_hosts/templates/workflows/pynfs.j2 b/playbooks/roles/gen_hosts/templates/workflows/pynfs.j2 index 6145b1a0d245..867df8137dd5 100644 --- a/playbooks/roles/gen_hosts/templates/workflows/pynfs.j2 +++ b/playbooks/roles/gen_hosts/templates/workflows/pynfs.j2 @@ -1,7 +1,41 @@ {# Workflow template for pynfs #} [all] localhost ansible_connection=local -write-your-own-template-for-pynfs-workflow +{% for host in pynfs_enabled_hosts %} +{{ kdevops_host_prefix }}-{{ host }} +{% if kdevops_baseline_and_dev %} +{{ kdevops_host_prefix }}-{{ host }}-dev +{% endif %} +{% endfor %} [all:vars] ansible_python_interpreter = "{{ kdevops_python_interpreter }}" + +[baseline] +{% for host in pynfs_enabled_hosts %} +{{ kdevops_host_prefix }}-{{ host }} +{% endfor %} + +[baseline:vars] +ansible_python_interpreter = "{{ kdevops_python_interpreter }}" + +[dev] +{% if kdevops_baseline_and_dev %} +{% for host in pynfs_enabled_hosts %} +{{ kdevops_host_prefix }}-{{ host }}-dev +{% endfor %} +{% endif %} + +[dev:vars] +ansible_python_interpreter = "{{ kdevops_python_interpreter }}" + +[pynfs] +{% for host in pynfs_enabled_hosts %} +{{ kdevops_host_prefix }}-{{ host }} +{% if kdevops_baseline_and_dev %} +{{ kdevops_host_prefix }}-{{ host }}-dev +{% endif %} +{% endfor %} + +[pynfs:vars] +ansible_python_interpreter = "{{ kdevops_python_interpreter }}" -- 2.51.0