47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			INI
		
	
	
	
			
		
		
	
	
			47 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			INI
		
	
	
	
| # CSOL Consul 集群 Inventory - 更新时间: 2025-06-17
 | ||
| # 此文件包含所有CSOL的Consul服务器节点信息
 | ||
| 
 | ||
| [consul_servers]
 | ||
| # Oracle Cloud 韩国区域 (KR)
 | ||
| ch2 ansible_host=100.90.159.68 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | ||
| ch3 ansible_host=100.86.141.112 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | ||
| 
 | ||
| # Oracle Cloud 美国区域 (US)
 | ||
| ash1d ansible_host=100.81.26.3 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | ||
| ash2e ansible_host=100.103.147.94 ansible_user=ben ansible_password=3131 ansible_become_password=3131
 | ||
| 
 | ||
| # Armbian 节点
 | ||
| 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
 | ||
| 
 | ||
| # Semaphore 节点
 | ||
| bj-semaphore ansible_host=100.116.158.95 ansible_user=root
 | ||
| 
 | ||
| [consul_cluster:children]
 | ||
| consul_servers
 | ||
| 
 | ||
| [consul_servers:vars]
 | ||
| # Consul服务器配置
 | ||
| ansible_ssh_common_args='-o StrictHostKeyChecking=no'
 | ||
| consul_version=1.21.5
 | ||
| consul_datacenter=dc1
 | ||
| consul_encrypt_key=1EvGItLOB8nuHnSA0o+rO0zXzLeJl+U+Jfvuw0+H848=
 | ||
| consul_bootstrap_expect=7
 | ||
| consul_server=true
 | ||
| consul_ui_config=true
 | ||
| consul_client_addr=0.0.0.0
 | ||
| consul_bind_addr="{{ ansible_default_ipv4.address }}"
 | ||
| consul_data_dir=/opt/consul/data
 | ||
| consul_config_dir=/etc/consul.d
 | ||
| consul_log_level=INFO
 | ||
| consul_port=8500
 | ||
| 
 | ||
| # === 节点说明 ===
 | ||
| # 服务器节点 (7个):
 | ||
| #   - Oracle Cloud KR: ch2, ch3
 | ||
| #   - Oracle Cloud US: ash1d, ash2e
 | ||
| #   - Armbian: onecloud1, de
 | ||
| #   - Semaphore: bj-semaphore
 | ||
| #
 | ||
| # 注意: hcs节点已退役 (2025-09-27)
 | ||
| # 注意: syd节点为故障节点,已隔离 |