From 55dc921ca1174b8169c9ab823ba615d73e4bbaf9 Mon Sep 17 00:00:00 2001 From: Lilian Roller Date: Wed, 24 Apr 2019 13:12:40 +0200 Subject: [PATCH] Publish role on ansible galaxy --- README.md | 7 ++++++- meta/main.yml | 28 ++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 meta/main.yml diff --git a/README.md b/README.md index 07bbb86..c29b197 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,16 @@ This ansible warning will install an bash Script, that will be executet every 3 minutes. -If your akku is under 25 min, it will make a warning. +If your batterie is under 25 min, it will make a warning. + +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 diff --git a/meta/main.yml b/meta/main.yml new file mode 100644 index 0000000..8926694 --- /dev/null +++ b/meta/main.yml @@ -0,0 +1,28 @@ +--- +galaxy_info: + author: L3D + description: Get a popup if the akku is getting low, get a warning sound, if the akku is even lower. + license: license (MIT) + min_ansible_version: 2.2 + github_branch: master + platforms: + - name: Archlinux + versions: all + - name: Debian + versions: + - all + - name: Ubuntu + versions: + - all + - name: Fedora + versions: + - all + galaxy_tags: + - akku + - warning + - energy + - i3wm + - arch + - desktop + - batterie +dependencies: []