17 lines
539 B
YAML
17 lines
539 B
YAML
---
|
||
# The home-server project produces a multi-purpose setup using Ansible.
|
||
# Copyright © 2018–2023 Y. Gablin, under the GPL-3.0-or-later license.
|
||
# Full licensing information in the LICENSE file, or gnu.org/licences/gpl-3.0.txt if the file is missing.
|
||
|
||
- name: restart openvpn-client.service
|
||
systemd:
|
||
daemon_reload: true
|
||
name: openvpn-client@{{vpn_name}}.service
|
||
state: restarted
|
||
|
||
- name: restart no-vpn network namespace
|
||
systemd:
|
||
daemon_reload: true
|
||
name: no-vpn-network-namespace.service
|
||
state: restarted
|