ansible_playbook_audiometer/roles/ffmpeg_install/tasks/main.yml

18 lines
381 B
YAML
Raw Normal View History

2023-02-20 00:12:00 +01:00
---
- name: Update apt cache
become: true
ansible.builtin.apt:
clean: true
update_cache: true
register: _pre_update_apt_cache
until: _pre_update_apt_cache is succeeded
when:
- ansible_pkg_mgr == "apt"
- name: Install latest ffmpeg from unstable
become: true
ansible.builtin.apt:
name: ['ffmpeg']
state: latest
# noqa: ansible-lint package-latest