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/tasks/main.yml

23 lines
519 B
YAML

---
- name: Run optional versionscheck
ansible.builtin.include_tasks:
file: 'versioncheck.yml'
when: submodules_versioncheck|bool
- name: Copy media files
ansible.builtin.include_tasks:
file: 'copy_media_files.yml'
- name: Install zenity and mpv for notifications
become: true
ansible.builtin.package:
name: "{{ item }}"
state: 'present'
loop:
- 'zenity'
- 'mpv'
when: manage_packages_akku_warning | bool
- name: Set timer
ansible.builtin.include_tasks:
file: 'timer.yml'