You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Markus Bergholz 88ee444fdf print last login and alive count = 2 1 week ago
inventories add local connect 1 month ago
roles Removed os-hardening submodule 1 week ago
test remove nist 1 week ago
.gitmodules Removed os-hardening submodule 1 week ago
Makefile add test files 1 month ago
README.md add wireguard 2 weeks ago
ansible.cfg add test files 1 month ago
hcloud.yml add hcloud 1 month ago
localhost.yml print last login and alive count = 2 1 week ago
ubuntu-test.yml add ubuntu test 1 week ago

README.md

bootstrap my servers with basic configuration

ansible-pull -U https://git.osuv.de/m/server -i inventories/local.ini localhost.yml --extra-vars='{"USER": "user", "PASSWORD": "password"}'

Supported Distributions:

  • Ubuntu 20.04
  • Manjaro/Archlinux

Requirements

Ubuntu 20.04

#!/bin/bash
apt update
apt install git ansible -y
ln -s /usr/bin/python3 /usr/bin/python
ansible-pull -U https://git.osuv.de/m/server -i inventories/local.ini localhost.yml \
  --extra-vars='{"USER": "user", "PASSWORD": "password"}'

Archlinux

#!/bin/bash
sudo pacman -Sy git ansible -y
sudo ansible-pull -U https://git.osuv.de/m/server -i inventories/local.ini localhost.yml