aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/handlers/main.yml
blob: 54c8f76e324bdea093955004f2505c87b8e8bb01 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
- name: reload nftables
  systemd:
    name: nftables.service
    state: reloaded
  when: not chroot

- name: restart networkd
  systemd:
    name: systemd-networkd.service
    state: restarted
  when: not chroot

- name: restart blackhole
  systemd:
    name: blackhole.service
    state: restarted
  when: not chroot

- name: restart sshd
  systemd:
    name: sshd.service
    state: restarted
  when: not chroot

- name: restart bird
  systemd:
    name: '{{ item }}.service'
    state: restarted
  with_items:
  - bird
  - bird6
  when: not chroot

- name: restart dhcpd
  systemd:
    name: dhcpd.service
    state: restarted
  when: not chroot

- name: restart radvd
  systemd:
    name: radvd.service
    state: restarted
  when: not chroot

- name: restart radiusd
  systemd:
    name: radiusd.service
    state: restarted
  when: not chroot

- name: restart getusers
  systemd:
    name: getusers.timer
    state: restarted
    daemon_reload: yes
  when: not chroot

- name: restart unbound
  systemd:
    name: unbound.service
    state: restarted
  when: not chroot

- name: restart avahi-daemon
  systemd:
    name: avahi-daemon.service
    state: restarted
  when: not chroot

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