aboutsummaryrefslogtreecommitdiffstats
path: root/roles/wireguard/tasks/set_facts.yml
blob: 7e042ea282f002a0729cde844d91fc6be4aeda6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13

# wireguard ~~ tasks/set_facts.yml

---

- set_fact:
    wg_dir: "{{ inventory_dir }}/files/wireguard"

- set_fact:
    wg_dcontroller_conf: "{{ wg_dir }}/{{ global.dcontroller }}.conf"
    wg_dcontroller_keys: "{{ wg_dir }}/{{ global.dcontroller }}.keys"
    wg_host_conf: "{{ wg_dir }}/{{ ansible_host }}.conf"
    wg_host_keys: "{{ wg_dir }}/{{ ansible_host }}.keys"
remember that computers suck.