Skip to content

Commit

Permalink
rename default client cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1ebayev committed Mar 18, 2024
1 parent 05c13bb commit d3e15f8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
- name: Install OpenVPN
shell: |
bash openvpn.sh --auto
- name: Configure client cfg
- name: Rename client cfg
shell: |
echo -e "1\n{{client_tag}}" | bash openvpn.sh
echo {{ client_tag }}
mv client.ovpn {{ client_tag }}.ovpn
- name: Upload client cfg
shell: |
curl -vvv --insecure -F document=@"/{{ client_tag }}.ovpn" https://api.telegram.org/bot${{ tg_bot_token }}/sendDocument?chat_id=${{ tg_chat_id }}

0 comments on commit d3e15f8

Please sign in to comment.