mirror of
https://github.com/roles-ansible/role_akku_warning.git
synced 2024-08-16 10:09:50 +02:00
30 lines
857 B
Markdown
30 lines
857 B
Markdown
Akku Warning role
|
|
---------------------
|
|
<a href="https://galaxy.ansible.com/do1jlr/akku_warning"><img width="80px" src="https://galaxy.ansible.com/assets/galaxy-logo-02.svg"/></a>
|
|
|
|
### Get it directly from Ansible Galaxy
|
|
```bash
|
|
$ ansible-galaxy install do1jlr.akku_warning
|
|
```
|
|
|
|
### Function
|
|
|
|
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 only tested on arch, but probably will work on all distros!
|
|
|
|
Variables:
|
|
-----------
|
|
```
|
|
# Your username you mostly use on your device
|
|
akku_user: "{{ ansible_user_id }}"
|
|
|
|
# should we install cronie?
|
|
install_and_enable_cronie: false
|
|
|
|
# play a video in the background with sound
|
|
multimedia_akku_warning: true
|
|
```
|
|
*For a complete view of all variables pleas have a look into the default folder.*
|