mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update hosts.yml
This commit is contained in:
		
							parent
							
								
									2f3fb69e01
								
							
						
					
					
						commit
						ababc0cba7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -10,7 +10,7 @@
 | 
				
			||||||
  lineinfile:
 | 
					  lineinfile:
 | 
				
			||||||
    path: /etc/hosts
 | 
					    path: /etc/hosts
 | 
				
			||||||
    regexp: '^172\.18\.96\.1'
 | 
					    regexp: '^172\.18\.96\.1'
 | 
				
			||||||
    line: '172.18.96.1     {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box'
 | 
					    line: '172.18.96.1     {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box iiab-server.lan'
 | 
				
			||||||
    state: present
 | 
					    state: present
 | 
				
			||||||
  when: iiab_lan_iface != "none" and not installing
 | 
					  when: iiab_lan_iface != "none" and not installing
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
  lineinfile:
 | 
					  lineinfile:
 | 
				
			||||||
    path: /etc/hosts
 | 
					    path: /etc/hosts
 | 
				
			||||||
    regexp: '^127\.0\.0\.1'
 | 
					    regexp: '^127\.0\.0\.1'
 | 
				
			||||||
    line: '127.0.0.1     localhost.localdomain localhost {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box'
 | 
					    line: '127.0.0.1     localhost.localdomain localhost {{ iiab_hostname }}.{{ iiab_domain }} {{ iiab_hostname }} box iiab-server.lan'
 | 
				
			||||||
    owner: root
 | 
					    owner: root
 | 
				
			||||||
    group: root
 | 
					    group: root
 | 
				
			||||||
    mode: 0644
 | 
					    mode: 0644
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue