Skip to content

Commit 24d75fd

Browse files
committed
update_etc_hosts: include the "service" hosts in the update
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: 1cf0800 ("gen_hosts: templates: include localhost in the all group") Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Reviewed-by: Daniel Gomez <da.gomez@samsung.com> Signed-off-by: Jeff Layton <jlayton@kernel.org>
1 parent d908dbd commit 24d75fd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playbooks/update_etc_hosts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Update target /etc/hosts with all targets and disable cloud-init
3-
hosts: baseline:dev
3+
hosts: baseline:dev:service
44
gather_facts: false
55
roles:
66
- role: update_etc_hosts

0 commit comments

Comments
 (0)