mirror of
https://github.com/roles-ansible/role_akku_warning.git
synced 2024-08-16 10:09:50 +02:00
3.8 KiB
3.8 KiB
ansible role: akku warning
This ansible warning will install an bash Script, that will be executet every 3 minutes.
If your batterie is under 25 percent, it will start warning you.
This role is tested with the i3 - improved tiling wm, but probably will work on all window magers!
Variables:
# Your username you mostly use on your device
akku_user: "{{ ansible_user_id }}"
# should we install and enable cronie?
install_and_enable_cronie: true
# play a sound at critical battery level
multimedia_akku_warning: true
# set this to false to disable package installation?
manage_packages_akku_warning: true
# version check for this playbook
submodules_versioncheck: true
For a complete view of all variables pleas have a look into the default folder.
Installation and Usage
install with galaxy:
ansible-galaxy install do1jlr.akku_warning
example playbook with galaxy
---
- hosts:
roles:
- do1jlr.akku_warning
installation via git
# download this role into your roles directory
git clone https://github.com/chaos-bodensee/role_akku_warning.git
example playbook
---
- name: install akku_warning
hosts: localhost
tags:
- akku_warning
roles:
- role_akku_warning
Missing something?
Please feel free to open a github Issue or Pull-Request. Thanks <3
Testing
This role is tested via github actions.