update infra and portfolio deployment
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				ci/woodpecker/push/demo-workflow Pipeline was successful
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	ci/woodpecker/push/demo-workflow Pipeline was successful
				
			This commit is contained in:
		
							
								
								
									
										18
									
								
								infra/ansible/inventory/group_vars/wireguard.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								infra/ansible/inventory/group_vars/wireguard.yaml
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,18 @@ | ||||
| apt_packages: | ||||
|   - curl | ||||
|   - vim | ||||
|   - htop | ||||
|   - wireguard | ||||
|  | ||||
| wireguard_path: "/etc/wireguard" | ||||
| wireguard_interface: "wg0" | ||||
| wireguard_private_key_file: "{{ wireguard_path }}/server_private.key" | ||||
| wireguard_public_key_file: "{{ wireguard_path }}/server_public.key" | ||||
| wg_port: 51820 | ||||
| wg_address: "10.0.0.1/24" | ||||
| wg_dns: "1.1.1.1" | ||||
| wg_peers: | ||||
|   - public_key: "LburMRtqT5LK0K1xzGGh4VkNVgWZQRm96dsxf6twbkw=" | ||||
|     allowed_ips: "0.0.0.0/0" | ||||
|     endpoint: "tahmidcloud.com:51820" | ||||
|     persistent_keepalive: 25 | ||||
| @ -2,6 +2,7 @@ all: | ||||
|   children: | ||||
|     hypervisors: | ||||
|     vms: | ||||
|     wireguard: | ||||
|  | ||||
| hypervisors: | ||||
|   children: | ||||
| @ -56,3 +57,10 @@ vm_group_2: | ||||
|       ansible_host: 192.168.1.162 | ||||
|       ansible_user: "{{ ansible_vm_user }}" | ||||
|       ansible_ssh_private_key_file: "{{ ansible_ssh_private_key_file }}" | ||||
|  | ||||
| wireguard: | ||||
|   hosts: | ||||
|     vm10: | ||||
|       ansible_host: 192.168.1.174 | ||||
|       ansible_user: "{{ ansible_vm_user }}" | ||||
|       ansible_ssh_private_key_file: "{{ ansible_ssh_private_key_file }}" | ||||
|  | ||||
		Reference in New Issue
	
	Block a user