mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-07 23:53:58 +02:00
Merge pull request #130 from fkt/bug-congrats_msg_#115
Show congrats message at the end - #115
This commit is contained in:
commit
a95fdc1f0b
3 changed files with 15 additions and 14 deletions
15
deploy.yml
15
deploy.yml
|
@ -38,3 +38,18 @@
|
||||||
handlers:
|
handlers:
|
||||||
- name: reload eth0
|
- name: reload eth0
|
||||||
shell: sh -c 'ifdown eth0; ip addr flush dev eth0; ifup eth0'
|
shell: sh -c 'ifdown eth0; ip addr flush dev eth0; ifup eth0'
|
||||||
|
|
||||||
|
post_tasks:
|
||||||
|
- shell: |
|
||||||
|
echo "#----------------------------------------------------------------------#"
|
||||||
|
echo "# Congratulations! #"
|
||||||
|
echo "# Your Algo server is running. #"
|
||||||
|
echo "# Config files and certificates are in the ./configs/ directory. #"
|
||||||
|
echo "# Go to https://whoer.net/ after connecting #"
|
||||||
|
echo "# and ensure that all your traffic passes through the VPN. #"
|
||||||
|
echo "# Local DNS resolver and Proxy IP address: {{ local_service_ip }}"
|
||||||
|
echo "#----------------------------------------------------------------------#"
|
||||||
|
tags: always
|
||||||
|
register: congrats
|
||||||
|
- debug: msg="{{ congrats.stdout_lines }}"
|
||||||
|
tags: always
|
||||||
|
|
|
@ -12,15 +12,3 @@
|
||||||
|
|
||||||
- name: restart iptables
|
- name: restart iptables
|
||||||
service: name=netfilter-persistent state=restarted
|
service: name=netfilter-persistent state=restarted
|
||||||
|
|
||||||
- name: congrats
|
|
||||||
debug:
|
|
||||||
msg:
|
|
||||||
- "#----------------------------------------------------------------------#"
|
|
||||||
- "# Congratulations! #"
|
|
||||||
- "# Your Algo server is running. #"
|
|
||||||
- "# Config files and certificates are in the ./configs/ directory. #"
|
|
||||||
- "# Go to https://whoer.net/ after connecting #"
|
|
||||||
- "# and ensure that all your traffic passes through the VPN. #"
|
|
||||||
- "# Local DNS resolver and Proxy IP address: {{ local_service_ip }}"
|
|
||||||
- "#----------------------------------------------------------------------#"
|
|
||||||
|
|
|
@ -222,8 +222,6 @@
|
||||||
|
|
||||||
- name: Fetch server CA certificate
|
- name: Fetch server CA certificate
|
||||||
fetch: src=/{{ easyrsa_dir }}/easyrsa3/pki/ca.crt dest=configs/{{ IP_subject_alt_name }}_ca.crt flat=yes
|
fetch: src=/{{ easyrsa_dir }}/easyrsa3/pki/ca.crt dest=configs/{{ IP_subject_alt_name }}_ca.crt flat=yes
|
||||||
notify:
|
|
||||||
- congrats
|
|
||||||
|
|
||||||
- include: iptables.yml
|
- include: iptables.yml
|
||||||
tags: iptables
|
tags: iptables
|
||||||
|
|
Loading…
Add table
Reference in a new issue