name: ups version: "1.0.0" description: "UPS monitoring via NUT (Network UPS Tools) with Ansible shutdown automation" author: "FabledScryer" license: "MIT" min_app_version: "0.1.0" repository_url: "https://github.com/bvandeusen/fabledscryer-plugins" homepage: "https://github.com/bvandeusen/fabledscryer-plugins/tree/main/ups" tags: - ups - power - nut config: nut_host: "localhost" nut_port: 3493 ups_name: "ups" nut_username: "" # leave blank if NUT is configured without auth nut_password: "" poll_interval_seconds: 30 shutdown_after_seconds: 300 # seconds on battery before triggering shutdown (0 = disabled) shutdown_source: "" # Ansible source name containing the shutdown playbook shutdown_playbook: "" # relative path within source, e.g. "shutdown.yml" shutdown_inventory: "hosts" # inventory filename within source root