Example / sample / template inventory Ansible YAML file
This commit is contained in:
		
							
								
								
									
										24
									
								
								inventory.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								inventory.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
webservers:
 | 
			
		||||
  hosts:
 | 
			
		||||
    # {{ host_name }}:
 | 
			
		||||
    #   ansible_host: {{ fqdn }}
 | 
			
		||||
  vars:
 | 
			
		||||
    # ansible_port: {{ port_num }}
 | 
			
		||||
ssl_webservers:
 | 
			
		||||
  hosts:
 | 
			
		||||
    # {{ host_name }}:
 | 
			
		||||
    #   ansible_host: {{ fqdn }}
 | 
			
		||||
  vars:
 | 
			
		||||
    # ansible_port: {{ port_num }}
 | 
			
		||||
ssh_servers:
 | 
			
		||||
  hosts:
 | 
			
		||||
    # {{ host_name }}:
 | 
			
		||||
    #   ansible_host: {{ fqdn }}
 | 
			
		||||
  vars:
 | 
			
		||||
    # ansible_port: {{ port_num }}
 | 
			
		||||
local_ssh:
 | 
			
		||||
  hosts:
 | 
			
		||||
    # {{ host_name }}:
 | 
			
		||||
    #   ansible_host: {{ fqdn }}
 | 
			
		||||
  vars:
 | 
			
		||||
    # ansible_port: {{ port_num }}
 | 
			
		||||
		Reference in New Issue
	
	Block a user