summaryrefslogtreecommitdiff
path: root/roles/blackmagic-desktopvideo/tasks/main.yml
blob: cd1de94c10b1f863118744e26505604ae1bef69d (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
---
- name: install blackmagic repo
  include_role:
    name: apt-repo/blackmagic

- 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