| 
														
															@@ -2,6 +2,9 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 - hosts: dhcp 
														 | 
														
														 | 
														
															 - hosts: dhcp 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   become: True 
														 | 
														
														 | 
														
															   become: True 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   gather_facts: False 
														 | 
														
														 | 
														
															   gather_facts: False 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  vars: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    wg_allowed_ips: '0.0.0.0/0,::0/0' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   tasks: 
														 | 
														
														 | 
														
															   tasks: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     - name: Load potential endpoints 
														 | 
														
														 | 
														
															     - name: Load potential endpoints 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       include_vars: 
														 | 
														
														 | 
														
															       include_vars: 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -22,14 +25,14 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     - name: Update wireguard config 
														 | 
														
														 | 
														
															     - name: Update wireguard config 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       template: 
														 | 
														
														 | 
														
															       template: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         src: ../roles/wg-gateway/templates/wg.conf.j2 
														 | 
														
														 | 
														
															         src: ../roles/wg-gateway/templates/wg.conf.j2 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        dest: /etc/wireguard/{{ wg_interface }}.conf 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        dest: /etc/wireguard/wg0.conf 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         owner: root 
														 | 
														
														 | 
														
															         owner: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         group: root 
														 | 
														
														 | 
														
															         group: root 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         mode: '0644' 
														 | 
														
														 | 
														
															         mode: '0644' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     - name: Restart wireguard interface 
														 | 
														
														 | 
														
															     - name: Restart wireguard interface 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       systemd: 
														 | 
														
														 | 
														
															       systemd: 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        name: wg-quick@{{ wg_interface }} 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        name: wg-quick@wg0 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         state: restarted 
														 | 
														
														 | 
														
															         state: restarted 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     - name: Edit /etc/motd 
														 | 
														
														 | 
														
															     - name: Edit /etc/motd 
														 |