Skip to content
This repository has been archived by the owner on Sep 28, 2024. It is now read-only.

Commit

Permalink
remote default wg key path, added when condition
Browse files Browse the repository at this point in the history
  • Loading branch information
imp1sh committed Jul 3, 2022
1 parent 8ae3727 commit 6b53b0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion roles/ansible_openwrtnetwork/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
# defaults file for ansible_openwrtnetwork
openwrt_network_deploypath: "/etc/config/network"
openwrt_network_wg_keypath: "/etc/wireguard/ansiblekeys"
openwrt_network_interfacesdefault:
loopback:
device: "lo"
Expand Down
1 change: 1 addition & 0 deletions roles/ansible_openwrtnetwork/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
path: "{{ openwrt_network_wg_keypath }}"
state: directory
mode: 0700
when: openwrt_network_wg_keypath is defined
delegate_to: 127.0.0.1
become: false
- name: run wg server tasks
Expand Down

0 comments on commit 6b53b0e

Please sign in to comment.