mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	make ansible happy
This commit is contained in:
		
							parent
							
								
									cc65d151ab
								
							
						
					
					
						commit
						b9b773aa00
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -24,11 +24,11 @@
 | 
				
			||||||
    mode: 0644
 | 
					    mode: 0644
 | 
				
			||||||
  when: is_redhat | bool
 | 
					  when: is_redhat | bool
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: Put hostnames "127.0.0.1 localhost.localdomain localhost box {{ iiab_hostname }}" in /etc/hosts
 | 
					- name: Put hostnames "127.0.0.1 {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan" in /etc/hosts
 | 
				
			||||||
  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  box {{ iiab_hostname }}'
 | 
					    line: '127.0.0.1            {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain   localhost {{ iiab_hostname }} box box.lan'
 | 
				
			||||||
    owner: root
 | 
					    owner: root
 | 
				
			||||||
    group: root
 | 
					    group: root
 | 
				
			||||||
    mode: 0644
 | 
					    mode: 0644
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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 box.lan'
 | 
					    line: '127.0.0.1     {{ iiab_hostname }}.{{ iiab_domain }} localhost.localdomain localhost {{ iiab_hostname }} box box.lan'
 | 
				
			||||||
    owner: root
 | 
					    owner: root
 | 
				
			||||||
    group: root
 | 
					    group: root
 | 
				
			||||||
    mode: 0644
 | 
					    mode: 0644
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue