ansible_playbook_audiometer/roles/ffmpeg/tasks/main.yml

22 lines
501 B
YAML
Raw Normal View History

2023-02-14 00:23:00 +01:00
---
- name: Package Sources manipulation
ansible.builtin.include_tasks: apt.yml
- name: Update apt cache
become: true
ansible.builtin.apt:
cache_valid_time: 3600
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']
default_release: unstable
state: latest
# noqa: ansible-lint package-latest