summaryrefslogtreecommitdiff
path: root/roles/blackmagic-desktopvideo/tasks/main.yaml
blob: 4190bb8ff66f8963e0e5edc09ad1969c3c85b707 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
- name: add repository key
  apt_key:
    data: "{{ lookup('file', 'repo.asc') }}"
    state: present

- name: add repository entry
  apt_repository:
    repo: deb https://{{ vault_build_spreadspace_blackmagic.username }}:{{ vault_build_spreadspace_blackmagic.password }}@build.spreadspace.org/ {{ ansible_distribution_release }} blackmagic
    state: present
    filename: blackmagic
    mode: 0600

- name: install blackmagic desktopvideo
  apt:
    name: desktopvideo
    state: present

- name: install improved kill mode for DesktopVideoHelper (1/2
  file:
    name: /etc/systemd/system/DesktopVideoHelper.service.d
    state: directory

- name: install improved kill mode for DesktopVideoHelper (1/2
  copy:
    src: DesktopVideoHelper-killmode.conf
    dest: /etc/systemd/system/DesktopVideoHelper.service.d/killmode.conf
  notify: reload systemd

- name: make sure DesktopVideoHelper is disabled and stopped
  systemd:
    name: DesktopVideoHelper.service
    daemon_reload: yes
    state: stopped
    enabled: no