Not working, not finding group_vars?
This commit is contained in:
parent
ef876ad20d
commit
27fb2aaab7
@ -3,7 +3,7 @@ PrivateKey = {{ docker-ext_wg_private_key }}
|
|||||||
Address = 10.11.20.2/24
|
Address = 10.11.20.2/24
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = s3Ch/zcv5IeSpIbHBT5pdzpHWwV2qh4Z9W/0DSZg/CQ=
|
PublicKey = {{ bastion_wg_public_key }}
|
||||||
AllowedIPs = 0.0.0.0/0
|
AllowedIPs = 0.0.0.0/0
|
||||||
Endpoint = vps.mycomputer.party:51820
|
Endpoint = vps.mycomputer.party:51820
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
@ -11,4 +11,7 @@ PersistentKeepalive = 25
|
|||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = eEHA7CSOR5nha9w4SCB+tOXcuCxgkxIXtNU3xB7wZn4=
|
PublicKey = eEHA7CSOR5nha9w4SCB+tOXcuCxgkxIXtNU3xB7wZn4=
|
||||||
AllowedIPs = 10.11.20.5/32
|
AllowedIPs = 10.11.20.5/32
|
||||||
Endpoint = vps.mycomputer.party:51820
|
|
||||||
|
[Peer]
|
||||||
|
PublicKey = QJmTVggRFs6Df/snbb3Fx3PeFFeaOqy3eUruV0eIXyE=
|
||||||
|
AllowedIPs = 10.11.20.6/32
|
||||||
|
|||||||
4
ansible/inventory/group_vars/wireguard/vars
Normal file
4
ansible/inventory/group_vars/wireguard/vars
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
bastion_wg_public_key: uBjwOBqEeH/2V7qo5GLGQaX159I1YBztzxvYE9pXOnI=
|
||||||
|
bastion_wg_private_key: "{{ vault_bastion_wg_private_key }}"
|
||||||
|
docker_ext_wg_public_key: 84ITOv/sB0f/h7fIY+uLQeTmMDgTCjvVzIQmEsLAZmo=
|
||||||
|
docker_ext_wg_private_key: "{{ vault_docker_ext_wg_private_key }}"
|
||||||
13
ansible/inventory/group_vars/wireguard/vault
Normal file
13
ansible/inventory/group_vars/wireguard/vault
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
|
65633461333438396463383333323364616536316536363136646361613837353938316562363466
|
||||||
|
6431373436363535666662323636623439643532323865610a356334333430356138363561363039
|
||||||
|
37613232333932663833303038353531636261663830653436633132386432623835643433663532
|
||||||
|
6533343630353634320a326139346666643135326566336263653965623835396236366433313031
|
||||||
|
37656666613035663764626430366635316430303835396436666563653531373635303633383264
|
||||||
|
64356631393433303337373631313034323339623338383937653565376261633034666330656331
|
||||||
|
38663262656264323639643261623263646537343430396265663762393835646566646563353766
|
||||||
|
61363237393033643034343862663739303736336636326230386131356632626630633361646664
|
||||||
|
66343637393439393463363434303331343161656364386535366535666433356332396364353630
|
||||||
|
62376262373839656339353530656666626235643630303665643633326365616266656330333538
|
||||||
|
62626237383835306534643839353465316664643161373465306461373366356433343863393635
|
||||||
|
63363235633339373538
|
||||||
@ -1,2 +1,3 @@
|
|||||||
docker-ext_wg_public_key: 84ITOv/sB0f/h7fIY+uLQeTmMDgTCjvVzIQmEsLAZmo=
|
ansible_ssh_user: root
|
||||||
docker-ext_wg_private_key: GFNTkhkNuQe63+SgCrPVGgAtU98WKHdtUPSmsqjiDVs=
|
docker_ext_wg_public_key: 84ITOv/sB0f/h7fIY+uLQeTmMDgTCjvVzIQmEsLAZmo=
|
||||||
|
docker_ext_wg_private_key: GFNTkhkNuQe63+SgCrPVGgAtU98WKHdtUPSmsqjiDVs=
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
ansible_host: 10.11.1.10
|
||||||
|
|
||||||
pi_ip: 10.11.1.10
|
pi_ip: 10.11.1.10
|
||||||
pi_mask: 255.255.255.0
|
pi_mask: 255.255.255.0
|
||||||
pi_gateway: 10.11.1.1
|
pi_gateway: 10.11.1.1
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
---
|
---
|
||||||
|
ansible_host: 51.222.155.202
|
||||||
|
|
||||||
wg_private_key: "{{ vault_wg_private_key }}"
|
wg_private_key: "{{ vault_wg_private_key }}"
|
||||||
wg_interface_ip: 10.11.20.1/24
|
wg_interface_ip: 10.11.20.1/24
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
ungrouped:
|
ungrouped:
|
||||||
hosts:
|
hosts:
|
||||||
bastion:
|
bastion:
|
||||||
@ -17,3 +18,10 @@ docker:
|
|||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
gitea:
|
gitea:
|
||||||
ansible_ssh_user: root
|
ansible_ssh_user: root
|
||||||
|
wireguard:
|
||||||
|
hosts:
|
||||||
|
docker-ext:
|
||||||
|
ansible_ssh_user: root
|
||||||
|
bastion:
|
||||||
|
ansible_host: 51.222.155.202
|
||||||
|
ansible_ssh_user: root
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user