From: Jeff Layton <jlayton@kernel.org>
To: kdevops@lists.linux.dev
Cc: Daniel Gomez <da.gomez@kernel.org>,
Chuck Lever <chuck.lever@oracle.com>,
Jeff Layton <jlayton@kernel.org>
Subject: [PATCH] update_etc_hosts: include the "service" hosts in the update
Date: Wed, 27 Aug 2025 10:16:29 -0400 [thread overview]
Message-ID: <20250827-ueh-fix-v1-1-ae403471ff92@kernel.org> (raw)
Services on the network need to have their hostnames added on the
clients, and adding the client hostnames on the servers should be
harmless.
Fixes: 1cf0800c9ffc ("gen_hosts: templates: include localhost in the all group")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
This seems to fix the issue for me. Any objections?
---
playbooks/update_etc_hosts.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/playbooks/update_etc_hosts.yml b/playbooks/update_etc_hosts.yml
index 6fb8f7870b4bba137aaf7c1eb50d858b17550244..a8e9bc26929079c6ce46d26e9a4df60f178bfb23 100644
--- a/playbooks/update_etc_hosts.yml
+++ b/playbooks/update_etc_hosts.yml
@@ -1,6 +1,6 @@
---
- name: Update target /etc/hosts with all targets and disable cloud-init
- hosts: baseline:dev
+ hosts: baseline:dev:service
gather_facts: false
roles:
- role: update_etc_hosts
---
base-commit: e18ea52dee6d5f6760e7b177ac5cbded65dc61e1
change-id: 20250827-ueh-fix-d7bdb7333fdf
Best regards,
--
Jeff Layton <jlayton@kernel.org>
next reply other threads:[~2025-08-27 14:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-27 14:16 Jeff Layton [this message]
2025-08-27 14:22 ` [PATCH] update_etc_hosts: include the "service" hosts in the update Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250827-ueh-fix-v1-1-ae403471ff92@kernel.org \
--to=jlayton@kernel.org \
--cc=chuck.lever@oracle.com \
--cc=da.gomez@kernel.org \
--cc=kdevops@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox