Skip to content

Instantly share code, notes, and snippets.

# vim:ft=ansible:
- name: Rotate TLS tickets
hosts: yourhostlist
become: True
vars:
key_count: some number...
ticket_path: /etc/nginx/ssl # Ideally this should not be on persistent storage
tasks:
switches.yaml:
- platform: mqtt
name: "Doorbell Chime"
state_topic: "doorbell/chime/state"
command_topic: "doorbell/chime/cmnd"
retain: true
qos: 1