GE
geerlingguy/ansible-role-nut_client
Ansible Role - NUT Client configuration
Ansible Role: NUT Client
Installs NUT client on Linux servers for Network UPS Tools power control.
Requirements
None.
Role Variables
Available variables are listed below, along with default values (see defaults/main.yml):
nut_client_ups: nut-server
nut_client_server: 127.0.0.1
nut_client_username: observer
nut_client_password: password_here
nut_client_type: secondaryControls the nut-client primary server access options.
nut_client_state: started
nut_client_enabled: trueControls the nut-client service options.
Dependencies
None.
Example Playbook
- hosts: servers
become: true
roles:
- geerlingguy.nut_client
License
GPLv3
Author Information
This role was created in 2025 by Jeff Geerling, author of Ansible for DevOps.