1
0
Fork 0
mirror of https://github.com/roles-ansible/role_akku_warning.git synced 2024-08-16 10:09:50 +02:00
role_akku_warning/README.md

31 lines
857 B
Markdown
Raw Normal View History

2019-04-07 19:03:34 +02:00
Akku Warning role
---------------------
2019-06-24 13:40:31 +02:00
<a href="https://galaxy.ansible.com/do1jlr/akku_warning"><img width="80px" src="https://galaxy.ansible.com/assets/galaxy-logo-02.svg"/></a>
2019-06-11 13:27:50 +02:00
### Get it directly from Ansible Galaxy
```bash
2019-06-24 13:40:31 +02:00
$ ansible-galaxy install do1jlr.akku_warning
2019-06-11 13:27:50 +02:00
```
### Function
2019-04-07 19:03:34 +02:00
This ansible warning will install an bash Script, that will be executet every 3 minutes.
2019-06-11 13:27:50 +02:00
If your batterie is under 25 percent, it will start warning you.
2019-04-24 13:12:40 +02:00
This role is only tested on arch, but probably will work on all distros!
2019-04-07 19:03:34 +02:00
Variables:
-----------
```
2019-04-24 13:12:40 +02:00
# Your username you mostly use on your device
akku_user: "{{ ansible_user_id }}"
2019-04-07 19:03:34 +02:00
# should we install cronie?
install_and_enable_cronie: false
# play a video in the background with sound
multimedia_akku_warning: true
```
2019-06-11 13:27:50 +02:00
*For a complete view of all variables pleas have a look into the default folder.*