summaryrefslogtreecommitdiff
path: root/dan/ele-dolmetsch-raspi.yml
blob: cbb2ca58ff2368614b0135caa5e9b1dbb50934bc (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
---
- name: Basic Setup
  hosts: "{{ install_hostname }}"
  roles:
  - role: apt-repo/base
  - role: core/base
  - role: core/sshd/base
  - role: core/zsh

- name: Payload Setup
  hosts: "{{ install_hostname }}"
  roles:
  - role: streaming/dolmetsch-raspi
  post_tasks:
  - when: inventory_hostname == "ele-dol-raspi0"
    loop:
    - rtp-recv.service
    - dolmetschctld.service
    systemd:
      name: "{{ item }}"
      state: started
      enabled: yes

  - when: inventory_hostname == "ele-dol-raspi1"
    loop:
    - rtp-send.service
    - dolmetschctl.service
    systemd:
      name: "{{ item }}"
      state: started
      enabled: yes