--- - name: Package Sources manipulation ansible.builtin.include_tasks: apt.yml - 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'] default_release: unstable state: latest # noqa: ansible-lint package-latest