Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible Wireguard bounce server config does not work with simaltanious deploys #68

Open
aaron97neu opened this issue Sep 15, 2020 · 0 comments
Labels
ansible bug Something isn't working

Comments

@aaron97neu
Copy link
Member

TASK [wireguard : gather the wireguard public key] **********************************************
Tuesday 15 September 2020  13:27:33 -0400 (0:00:00.582)       0:02:45.574 ***** 
ok: [avena-apalis-3]
ok: [avena-apalis-6]

TASK [wireguard : pause] **********************************************
Tuesday 15 September 2020  13:27:34 -0400 (0:00:00.391)       0:02:45.966 ***** 
[wireguard : pause]
Please add:

[Peer]
# Name = avena-apalis-3
PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
AllowedIPs = XXX.XXX.XXX

to your bounce server wiregaurd configuration and then run

$ sudo su
# wg addconf <wg-interface> <(wg-quick strip <wg-interface>)

before hitting <enter> to continue.
:
ok: [avena-apalis-3]

TASK [wireguard : ensure wireguard auto restarts on failure] **********************************************
Tuesday 15 September 2020  13:30:31 -0400 (0:02:56.825)       0:05:42.791 ***** 
ok: [avena-apalis-3]
ok: [avena-apalis-6]

We should be seeing two prompts with wireguard public keys in this case

@aaron97neu aaron97neu added bug Something isn't working ansible labels Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant