/ansible2siteconf

ansible Konfiguration zu site.conf Generator

Primary LanguagePythonMIT LicenseMIT

ansible2siteconf

ansible Konfiguration zu site.conf Generator

Quelle: https://github.com/Neanderfunk/ansible-ffnef/blob/master/group_vars/all

Ziel: https://github.com/eulenfunk/firmware/tree/v2019.1.x/templates

Vorbereitung

Abhängigkeit:

sudo apt install python3-venv

Repository clonen

git clone --recursive git@github.com:Neanderfunk/ansible2siteconf.git

cd ansible2siteconf

# If you already have cloned a repository and now want to load it’s submodules you have to use submodule update.
git submodule update --init

venv einrichten

python3 -m venv .venv/

source .venv/bin/activate

Python Abhängigkeiten installieren

pip install -r requirements.txt

Benutzung

./generate.py

Die site.conf Dateien werden im Ordner out generiert.