innernet-playbook/roles/server/tasks/main.yml

26 lines
603 B
YAML

# SPDX-FileCopyrightText: 2021 Free Software Foundation Europe <https://fsfe.org>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
---
# - name: Install packages
# apt:
# package:
# - rsync
# - wireguard
# - wireguard-tools
# - name: Transfer innernet-server release
# synchronize:
# src: "innernet-server_1.5.0_amd64.deb"
# dest: "/tmp/innernet-server.deb"
# - name: Install innernet-server release
# apt: deb="/tmp/innernet-server.deb"
- name: Copy initialisation script to server
template:
src: initialise.j2
dest: /root/initialise.sh
mode: "0755"