algo/roles/vpn/handlers/main.yml
Evgeniy Ivanov 5ecd23c59c type
2016-08-23 09:01:07 +03:00

20 lines
915 B
YAML

- name: restart strongswan
service: name=strongswan state=restarted daemon_reload=yes
- name: daemon-reload
shell: systemctl daemon-reload
- name: restart apparmor
service: name=apparmor state=restarted
- name: congrats
debug:
msg:
- "#----------------------------------------------------------------------#"
- "# Congratulations! #"
- "# Your Algo server is running. #"
- "# Config files and certificates are in the ./configs/ directory. #"
- "# Go to https://www.dnsleaktest.com/ after connecting #"
- "# and ensure that all your traffic passes through the VPN. #"
- "# Local DNS resolver and Proxy IP address: {{ local_service_ip }}"
- "#----------------------------------------------------------------------#"