- name: Configure WireGuard for wgtor ansible.builtin.template: src: templates/wg2.conf.j2 dest: /etc/wireguard/wg2.conf owner: root group: root mode: u+rw,g-rw,o-rw notify: Restart wgtor - name: Enable WireGuard service for wgtor ansible.builtin.service: name: wg-quick@wg2 enabled: yes state: started