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 1f1d1f6f03
change to dev-sec collection
5 months ago
inventories add local connect 8 months ago
roles remove ssh-hardning as submodule 5 months ago
test remove nist 7 months ago
.gitmodules remove ssh-hardning as submodule 5 months ago
Makefile change to dev-sec collection 5 months ago
README.md add wireguard 7 months ago
ansible.cfg add test files 8 months ago
hcloud.yml add hcloud 8 months ago
localhost.yml change to dev-sec collection 5 months ago
requirements.yml change to dev-sec collection 5 months ago
ubuntu-test.yml add ubuntu test 7 months 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