27 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			INI
		
	
	
	
| [nomad_servers]
 | |
| # 服务器节点 (7个服务器节点)
 | |
| bj-semaphore ansible_host=100.116.158.95 ansible_user=root
 | |
| ash1d.global ansible_host=100.81.26.3 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| ash2e.global ansible_host=100.103.147.94 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| ch2.global ansible_host=100.90.159.68 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| ch3.global ansible_host=100.86.141.112 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| onecloud1 ansible_host=100.98.209.50 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| de ansible_host=100.120.225.29 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| 
 | |
| [nomad_clients]
 | |
| # 客户端节点
 | |
| master ansible_host=100.117.106.136 ansible_user=ben ansible_password=3131 ansible_become_password=3131 ansible_port=60022
 | |
| ash3c ansible_host=100.116.80.94 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | |
| 
 | |
| [nomad_nodes:children]
 | |
| nomad_servers
 | |
| nomad_clients
 | |
| 
 | |
| [nomad_nodes:vars]
 | |
| # NFS配置
 | |
| nfs_server=snail
 | |
| nfs_share=/fs/1000/nfs/Fnsync
 | |
| mount_point=/mnt/fnsync
 | |
| 
 | |
| # Ansible配置
 | |
| ansible_ssh_common_args='-o StrictHostKeyChecking=no' |