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 <[email protected]> Reviewed-by: Daniel Gomez <[email protected]> Signed-off-by: Jeff Layton <[email protected]>
1 parent d908dbd commit 24d75fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)