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

20 lines
422 B
YAML
Raw Normal View History

2020-02-20 23:30:57 +01:00
---
- name: copy sound warning script
2021-11-11 21:20:47 +01:00
become: true
2021-11-11 23:08:51 +01:00
ansible.builtin.template:
src: 'templates/akku.sh.j2'
2020-02-20 23:30:57 +01:00
dest: '/opt/akku.sh'
owner: 'root'
group: 'root'
mode: '0755'
- name: copy sound warning video
2021-11-11 21:20:47 +01:00
become: true
2021-11-11 23:08:51 +01:00
ansible.builtin.copy:
2020-02-20 23:30:57 +01:00
src: "{{ akku_sound_src }}"
dest: "{{ akku_sound_dest }}"
owner: 'root'
group: 'root'
mode: '0644'
2020-02-20 23:38:18 +01:00
when: multimedia_akku_warning | bool