Added an example file for Ansible inventory
This commit is contained in:
		
							
								
								
									
										35
									
								
								hosts.yml.example
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								hosts.yml.example
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
				
			|||||||
 | 
					---
 | 
				
			||||||
 | 
					ungrouped:
 | 
				
			||||||
 | 
					  hosts:
 | 
				
			||||||
 | 
					    localhost:
 | 
				
			||||||
 | 
					      ansible_host: "localhost"
 | 
				
			||||||
 | 
					    localhost4:
 | 
				
			||||||
 | 
					      ansible_host: "127.0.0.1"
 | 
				
			||||||
 | 
					    localhost6:
 | 
				
			||||||
 | 
					      ansible_host: "::1"
 | 
				
			||||||
 | 
					    sukaato:
 | 
				
			||||||
 | 
					      ansible_host: ~
 | 
				
			||||||
 | 
					    sukaato4:
 | 
				
			||||||
 | 
					      ansible_host: ~
 | 
				
			||||||
 | 
					    sukaato6:
 | 
				
			||||||
 | 
					      ansible_host: ~
 | 
				
			||||||
 | 
					localhost_hosts:
 | 
				
			||||||
 | 
					  hosts:
 | 
				
			||||||
 | 
					    localhost:
 | 
				
			||||||
 | 
					    localhost4:
 | 
				
			||||||
 | 
					    localhost6:
 | 
				
			||||||
 | 
					sukaato_hosts:
 | 
				
			||||||
 | 
					  hosts:
 | 
				
			||||||
 | 
					    sukaato:
 | 
				
			||||||
 | 
					    sukaato4:
 | 
				
			||||||
 | 
					    sukaato6:
 | 
				
			||||||
 | 
					locals:
 | 
				
			||||||
 | 
					  children:
 | 
				
			||||||
 | 
					    localhost_hosts:
 | 
				
			||||||
 | 
					  vars:
 | 
				
			||||||
 | 
					    ansible_connection: local
 | 
				
			||||||
 | 
					servers:
 | 
				
			||||||
 | 
					  children:
 | 
				
			||||||
 | 
					    sukaato_hosts:
 | 
				
			||||||
 | 
					  vars:
 | 
				
			||||||
 | 
					    ansible_port: 22
 | 
				
			||||||
		Reference in New Issue
	
	Block a user