mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	hostname.yml: Note /etc/hosts & /etc/hostname tkts
This commit is contained in:
		
							parent
							
								
									9e6f96bd33
								
							
						
					
					
						commit
						d67b2751a6
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,7 +22,10 @@
 | 
			
		|||
  # 2021-08-31: Periods in /etc/hostname fail with some WiFi routers (#2904)
 | 
			
		||||
  # command: hostnamectl set-hostname "{{ iiab_hostname }}.{{ iiab_domain }}"
 | 
			
		||||
 | 
			
		||||
# should the first entry match just hostname and domain move to after localhost?
 | 
			
		||||
# 2022-07-11: Should the first entry match just hostname and domain move to
 | 
			
		||||
# after localhost?  Background:
 | 
			
		||||
# 1. /etc/hosts    -- #1815 solved by PR #1847
 | 
			
		||||
# 2. /etc/hostname -- #2904 solved by PR #2973
 | 
			
		||||
- name: 'Put FQDN & hostnames in /etc/hosts: "127.0.0.1 {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan"'
 | 
			
		||||
  lineinfile:
 | 
			
		||||
    path: /etc/hosts
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue