mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	Solved wireguard name bugs
This commit is contained in:
		| @@ -18,10 +18,10 @@ | ||||
|     group: root | ||||
|   notify: reload sysctl configuration | ||||
|  | ||||
| - name: create /etc/wireguard/wg0.{{ SOFTWARE_NAME | lower }}.conf | ||||
| - name: "deploy {{ WG0_CONF_DEST }}" | ||||
|   copy: | ||||
|     src: "{{ inventory_dir }}/files/{{ inventory_hostname }}/etc/wireguard/wg0.conf" | ||||
|     dest: /etc/wireguard/wg0.{{ SOFTWARE_NAME | lower }}.conf | ||||
|     owner: root | ||||
|     group: root | ||||
|     src:    "{{ [inventory_dir, 'files', inventory_hostname, 'etc/wireguard/wg0.conf' ] | path_join }}" | ||||
|     dest:   "{{ WG0_CONF_DEST }}" | ||||
|     owner:  root | ||||
|     group:  root | ||||
|   notify: restart wireguard | ||||
| @@ -1 +1,3 @@ | ||||
| application_id: svc-net-wireguard-core | ||||
|  | ||||
| WG0_CONF_DEST:  "/etc/wireguard/wg0.conf" | ||||
		Reference in New Issue
	
	Block a user