https://github.com/geerlingguy/ansible-role-nut_client
Ansible Role - NUT Client configuration
https://github.com/geerlingguy/ansible-role-nut_client
ansible ansible-role network-ups-tools nut ups
Last synced: 3 months ago
JSON representation
Ansible Role - NUT Client configuration
- Host: GitHub
- URL: https://github.com/geerlingguy/ansible-role-nut_client
- Owner: geerlingguy
- License: gpl-3.0
- Created: 2025-02-19T22:58:44.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-03-03T22:37:08.000Z (3 months ago)
- Last Synced: 2025-03-03T23:27:54.185Z (3 months ago)
- Topics: ansible, ansible-role, network-ups-tools, nut, ups
- Homepage: https://galaxy.ansible.com/ui/standalone/roles/geerlingguy/nut_client/
- Size: 15.6 KB
- Stars: 13
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Ansible Role: NUT Client
[](https://github.com/geerlingguy/ansible-role-nut_client/actions/workflows/ci.yml)
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`):
```yaml
nut_client_ups: nut-server
nut_client_server: 127.0.0.1
nut_client_username: observer
nut_client_password: password_here
```Controls the `nut-client` primary server access options.
```yaml
nut_client_state: started
nut_client_enabled: true
```Controls 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](https://www.jeffgeerling.com/), author of [Ansible for DevOps](https://www.ansiblefordevops.com/).