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

View file

@ -0,0 +1,37 @@
- name: test playbook
hosts: P01
#vars_files:
# - secret
vars:
addr: "192.168.122.245"
os_environment:
- key: VITE_MQTT_HOST
value: polztest.local
tasks:
- name: test things
when: barco_g62 is defined
block:
#- name: ping hosts
# ansible.builtin.ping:
- name: template config.toml
ansible.builtin.template:
src: ./conf.j2
dest: /home/kat/testo/conf.txt
- name: template barco systemd service
vars:
script_file: "/home/kat/pyServices/fri-mm-maline/barco_G62_control.py %i"
ansible.builtin.template:
src: ./service.j2
dest: /home/kat/testo/barc.serv
- name: enable barcos
ansible.builtin.ping:
#itd itd itd
- name: test second
when: barco_old is defined
block:
- name: pingerino
ansible.builtin.ping: