Commit 92bc4c9a authored by Пальмин Альберт's avatar Пальмин Альберт
Browse files

fix

parent 2ea401be
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
---
config_file_name: test1-openvpn-server1.ovpn #вписать имя того, который скопировали в директорию files
......@@ -11,6 +11,10 @@
- traceroute
tags: start
- name: killall openvpn #для остановки предыдущих сессий
shell: killall openvpn
tags: start
- name: rm_others #удаление других конфигураций чтобы одно на другое на наложилось
shell: rm ~/*.ovpn
tags: start
......@@ -19,6 +23,7 @@
copy:
src: ../files/{{ config_file_name }}
dest: ~/{{ config_file_name }}
notify: restart
tags: start
- name: openvpn config
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment