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/copy_media_files.yml

19 lines
422 B
YAML

---
- name: Copy sound warning script
become: true
ansible.builtin.template:
src: 'templates/akku.sh.j2'
dest: '/opt/akku.sh'
owner: 'root'
group: 'root'
mode: '0755'
- name: Copy sound warning video
become: true
ansible.builtin.copy:
src: "{{ akku_sound_src }}"
dest: "{{ akku_sound_dest }}"
owner: 'root'
group: 'root'
mode: '0644'
when: multimedia_akku_warning | bool