small reworks in frontend and scripts, mostly finalized ansible deploy script -- still needs testing

This commit is contained in:
katsu 2025-02-12 17:50:58 +01:00
parent f41dfc4f86
commit e57f803a52
25 changed files with 440 additions and 90 deletions

19
tomlTest.py Normal file
View file

@ -0,0 +1,19 @@
import toml
tomlConf = toml.load('./config.toml')
print(tomlConf)
barcos = {k: v for k, v in tomlConf["barco"].items()}
print()
print(barcos)
newBarcos = {k: v for k,v in barcos["novi"].items()}
print(newBarcos)
for pos in newBarcos.keys():
atrs = newBarcos[pos]
print(atrs)
ip = atrs['ip']
# etc
# launch scripty thingy with atrs[IP], itd