Add mosquitto role and add playbook to deploy MQTT broker on automation.z9
This commit is contained in:
		
					parent
					
						
							
								59dc7a1d7d
							
						
					
				
			
			
				commit
				
					
						7a93546616
					
				
			
		
					 8 changed files with 101 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								playbooks/files/configs/automation/mosquitto/mosquitto.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								playbooks/files/configs/automation/mosquitto/mosquitto.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| # Place your local configuration in /etc/mosquitto/conf.d/ | ||||
| # | ||||
| # A full description of the configuration file is at | ||||
| # /usr/share/doc/mosquitto/examples/mosquitto.conf.example | ||||
| 
 | ||||
| per_listener_settings false | ||||
| listener 1883  | ||||
| allow_anonymous true | ||||
| pid_file /run/mosquitto/mosquitto.pid | ||||
| 
 | ||||
| persistence true | ||||
| persistence_location /var/lib/mosquitto/ | ||||
| 
 | ||||
| log_dest file /var/log/mosquitto/mosquitto.log | ||||
| 
 | ||||
| include_dir /etc/mosquitto/conf.d | ||||
							
								
								
									
										10
									
								
								playbooks/files/configs/automation/mosquitto/winkekatz.conf
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								playbooks/files/configs/automation/mosquitto/winkekatz.conf
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| connection winkekatz | ||||
| address mqtt.winkekatze24.de | ||||
| topic winkekatze/# both  | ||||
| bridge_protocol_version mqttv311 | ||||
| 
 | ||||
| topic "" in 2 devices/katz9/eyecolor/eyecolor/set jimmykater/eye/set | ||||
| topic "" in 2 devices/katz9/command/wink/set winkekatze/allcats | ||||
| topic "" out 2 devices/katz9/command/status katz9/status | ||||
| topic "" out 2 devices/katz9/$online katz9/connected | ||||
| topic "" in 2 devices/katz9/command/wink/set katz9/command | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue