summaryrefslogtreecommitdiff
path: root/roles/streaming/blackmagic/mediaexpress/tasks/main.yml
blob: 3b99b8d301014675c65a6fcbde148bb40bf7fafb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
- name: install blackmagic repo
  import_role:
    name: apt-repo/blackmagic

- name: install blackmagic mediaexpress
  apt:
    name: "mediaexpress{% if blackmagic_mediaexpress_version is defined %}={{ blackmagic_mediaexpress_version }}{% endif %}"
    state: present
    force: yes
    ## TODO: remove force once the following changes are available
    ##   https://github.com/ansible/ansible/pull/73629 or https://github.com/ansible/ansible/pull/72562
    ##   https://github.com/ansible/ansible/pull/74852

- name: disable automatic upgrades for mediaexpress
  when: blackmagic_mediaexpress_version is defined
  dpkg_selections:
    name: mediaexpress
    selection: hold