Commit graph

32 commits

Author SHA1 Message Date
Alex 24118ab426 Make things work on cluster devx.adnab.me 2020-07-15 16:06:08 +02:00
Alex 65af077d5a Fix iptables not liking comment on same line 2020-07-15 16:03:51 +02:00
Alex d3ada90d83 Fix nomad ip address
Remove the networ_interface parameter in nomad config
This means that nomad will now autodetect its own ip address
by looking at the default route.
Thus nodes in a LAN behind a NAT will get their LAN address,
and internet nodes will get their public address.
They won't get their VPN addresses.
This seems not to break Consul's use of VPN addresses to address
services, and fixes attr.unique.network.ip-address for DiploNAT.
2020-07-15 16:03:51 +02:00
Alex 3bf830713f don't retrieve wireguard privkeys in ansible 2020-07-15 16:03:51 +02:00
Alex 207d1fa278 Allow external VPN nodes, make multi-DC deployment work 2020-07-15 16:03:42 +02:00
Alex bee7e10256 Document Wireguard config 2020-07-15 16:03:42 +02:00
Alex a4f9aa2d98 Set up wireguard in dev cluster 2020-07-15 16:03:33 +02:00
Alex 3174179100 Achieve a working install on my VMs 2020-07-15 15:49:52 +02:00
Quentin 2f1ef18510 WIP Florian as an admin 2020-07-13 21:04:03 +02:00
Quentin e25acda3d0 Rework file 2020-07-13 20:01:04 +02:00
Quentin 46aac4cc79 Add SSH 2020-07-13 19:58:49 +02:00
Quentin 4bd4d20533 Simplify iptables 2020-07-13 19:55:22 +02:00
Quentin c12dcd6d21 Add Florian 2020-07-13 18:51:40 +02:00
Quentin 86e727eeb8 Add max as admin 2020-07-08 09:21:06 +02:00
Quentin 5e83c8e5fe Remove don't need anymore 2020-07-05 20:56:36 +02:00
Quentin faf39bbb28 Fix docker volume 2020-07-05 20:36:16 +02:00
Quentin 81480fa1f9 Add docs + fix warning 2020-07-05 20:15:28 +02:00
Quentin 9cf37f9fe0 Clean nomad+consul deploy tasks as we do not deploy anymore on ARM so it is untested for real 2020-07-05 20:12:51 +02:00
Quentin 6b37b7c932 Add a readme 2020-07-05 19:52:31 +02:00
Quentin 03d4e50b05 Add my own modifications 2020-07-05 19:49:32 +02:00
Alex d590a98bed Remove last reference to obsolete nomad1 interface 2020-06-30 17:31:35 +02:00
Alex 351e6f13d5 Network configuration:
- Remove nomad interface (unused)
- Deactivate systemd-resolved
- Add dns_server to production nodes variables
- Add recursors option to Consul so that it can resolve outside DNS
  queries
- Use consul as a global DNS server for machines and containers, with
  the outside DNS as a fallback (see roles/consul/templates/resolv.conf.j2)
2020-06-30 17:31:35 +02:00
Quentin b4bfbddd54 Some other fixes 2020-06-16 17:01:38 +02:00
Quentin e7ed8a49fb Update local scripts 2020-06-16 16:28:24 +02:00
Quentin 7c984ae02b Add router in the list 2020-05-23 17:13:32 +02:00
Alex 78f452587a Make the net ansible section never run and add appropriate warnings 2020-05-21 14:00:47 +02:00
Quentin cbe9236376 Add Alex 2020-04-05 10:42:50 +02:00
Quentin ea32facca2 Safer Ansible 2020-02-16 20:05:47 +01:00
Quentin cbd12c1877 Add sudo 2020-02-16 19:57:53 +01:00
Quentin 3feb426e9f Alex is now admin! 2020-02-11 22:19:25 +01:00
Quentin f452a438ba Ajout des statuts + Ajout de Alex 2020-01-22 20:45:26 +01:00
Quentin 61d009f18d Initial commit 2019-07-11 09:33:07 +02:00