add submodules

This commit is contained in:
linus 2021-11-13 16:21:19 +01:00
parent 8d6d3d1c09
commit 5385797a0b
3 changed files with 6 additions and 17 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "inventory"]
path = inventory
url = git@git.fsfe.org:fsfe-system-hackers/inventory.git
[submodule "innernet"]
path = innernet
url = https://git.fsfe.org/fsfe-system-hackers/innernet.git

1
innernet Submodule

@ -0,0 +1 @@
Subproject commit e6f25ca1d79b659ae3f028433c03de8e26b6033a

View File

@ -6,27 +6,12 @@
- name: Install needed packages
apt:
package:
- cargo
- librust-clang-sys-dev
- rsync
- rustc
- rust-libsqlite3-sys # this is currenlty coming from sid
- wireguard
- wireguard-tools
- name: Clone from our innernet mirror
git:
repo: "https://git.fsfe.org/fsfe-system-hackers/innernet"
dest: "~/innernet"
version: "{{ innernet_version }}"
- name: Build innernet-server binary from source
shell:
cmd: |
cargo build \
--release \
--bin innernet-server
chdir: "~/innernet"
- name: Copy binary to server
synchronize: src= dest=
- name: Create base network
shell: |