mqtt_variables angepasst
This commit is contained in:
parent
f70fca2ce9
commit
bb3a6332c7
3 changed files with 8 additions and 9 deletions
|
@ -43,6 +43,6 @@
|
||||||
name: "Autogui-Befehl ausführen"
|
name: "Autogui-Befehl ausführen"
|
||||||
minute: "*"
|
minute: "*"
|
||||||
user: "{{ raspi_user }}"
|
user: "{{ raspi_user }}"
|
||||||
job: '/usr/bin/mosquitto_pub -h "{{ broker }}" -t "kiosk/01/{{ deviceName }}/autogui/set" -u "{{ username }}" -P "{{ password }}" -m "click(1895,52)"; sleep 1; /usr/bin/mosquitto_pub -h "{{ broker }}" -t "kiosk/01/{{ deviceName }}/autogui/set" -u "{{ username }}" -P "{{ password }}" -m "click(1920,1080)"'
|
job: '/usr/bin/mosquitto_pub -h "{{ mqtt_broker }}" -t "kiosk/01/{{ deviceName }}/autogui/set" -u "{{ mqtt_username }}" -P "{{ password }}" -m "click(1895,52)"; sleep 1; /usr/bin/mosquitto_pub -h "{{ mqtt_broker }}" -t "kiosk/01/{{ deviceName }}/autogui/set" -u "{{ mqtt_username }}" -P "{{ password }}" -m "click(1920,1080)"'
|
||||||
state: present
|
state: present
|
||||||
when: enableMQTTFeature and enableMQTTcronjob
|
when: enableMQTTFeature and enableMQTTcronjob
|
||||||
|
|
|
@ -16,10 +16,10 @@
|
||||||
#
|
#
|
||||||
[global]
|
[global]
|
||||||
#set server ip adress and port
|
#set server ip adress and port
|
||||||
broker={{ broker }}
|
broker={{ mqtt_broker }}
|
||||||
port={{ port }}
|
port={{ mqtt_port }}
|
||||||
#set username and password if needed:
|
#set username and password if needed:
|
||||||
username={{ username }}
|
username={{ mqtt_username }}
|
||||||
password={{ password }}
|
password={{ password }}
|
||||||
#change display ID 10-0045 to the value which you see in your system: ls /sys/class/backlight:
|
#change display ID 10-0045 to the value which you see in your system: ls /sys/class/backlight:
|
||||||
displayID=10-0045
|
displayID=10-0045
|
||||||
|
@ -46,7 +46,7 @@ pyautogui=enabled
|
||||||
#feature backlight alows you to control the brigtness off directly connected original raspberry pi displays like Touch Display 2
|
#feature backlight alows you to control the brigtness off directly connected original raspberry pi displays like Touch Display 2
|
||||||
#Disable this feature if you are not sure if your display support this feature! This avoids errors during startup.
|
#Disable this feature if you are not sure if your display support this feature! This avoids errors during startup.
|
||||||
backlight=enabled
|
backlight=enabled
|
||||||
#enable home assitant auto discovery
|
#enable home assistant auto discovery
|
||||||
haDiscover=
|
haDiscover=
|
||||||
|
|
||||||
[brightness]
|
[brightness]
|
||||||
|
|
|
@ -4,10 +4,9 @@
|
||||||
####
|
####
|
||||||
#### ~# ansible-vault encrypt_string 'meinSicheresPasswort' --name 'password'
|
#### ~# ansible-vault encrypt_string 'meinSicheresPasswort' --name 'password'
|
||||||
####
|
####
|
||||||
raspinutzer: "{{ remote_user }}"
|
mqtt_broker: "dockerbox.morz.de"
|
||||||
broker: "dockerbox.morz.de"
|
mqtt_port: 1883
|
||||||
port: 1883
|
mqtt_username: "morz"
|
||||||
username: "morz"
|
|
||||||
password: !vault |
|
password: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
36626464646239306132346130646564373263356231303266326463353261666463356461336634
|
36626464646239306132346130646564373263356231303266326463353261666463356461336634
|
||||||
|
|
Loading…
Add table
Reference in a new issue