# wireguard ~~ tasks/set_facts.yml --- - set_fact: wg_dir: "{{ inventory_dir}}/files/wireguard" - set_fact: wg_dcontroller_conf: "{{ wg_dir }}/{{ _i.dcontroller }}.conf" wg_dcontroller_keys: "{{ wg_dir }}/{{ _i.dcontroller }}.keys" wg_host_conf: "{{ wg_dir }}/{{ ansible_host }}.conf" wg_host_keys: "{{ wg_dir }}/{{ ansible_host }}.keys"