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.
 

699 B

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