update infra and portfolio deployment
All checks were successful
ci/woodpecker/push/demo-workflow Pipeline was successful

This commit is contained in:
2025-08-23 09:25:23 +03:00
parent 7bad5121b0
commit d9b3ceff6b
10 changed files with 175 additions and 7 deletions

View 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

View File

@ -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 }}"