aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks/tayga.yml
blob: a06703eb62998f922e376dd41cf25b8fa3c428ff (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
---
- name: Create labitat.conf
  copy:
    dest: '/etc/tayga/labitat.conf'
    src: tayga-labitat.conf
    owner: root
    group: root
    mode: 0644
  notify: restart tayga

- name: Create /etc/systemd/system/sys-devices-virtual-net-nat64.device.wants
  file:
    path: '/etc/systemd/system/sys-devices-virtual-net-nat64.device.wants'
    state: directory
    owner: root
    group: root
    mode: 0755

- name: Start tayga@labitat.service when nat64 interface is up
  file:
    path: '/etc/systemd/system/sys-devices-virtual-net-nat64.device.wants/tayga@labitat.service'
    src: '/usr/lib/systemd/system/tayga@.service'
    state: link

# vim: set ts=2 sw=2 et: