aboutsummaryrefslogblamecommitdiffstats
path: root/roles/space_server/handlers/main.yml
blob: e8943d3b9d82e64ea6d4d7346eba0aae3f083bdc (plain) (tree)


























































                                        
                       
          
                         


                                        





                                        
                        
---
- name: reload nftables
  systemd:
    name: nftables.service
    state: reloaded
  when: "'container' not in ansible_env"

- name: restart networkd
  systemd:
    name: systemd-networkd.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart blackhole
  systemd:
    name: blackhole.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart sshd
  systemd:
    name: sshd.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart bird
  systemd:
    name: '{{ item }}.service'
    state: restarted
  with_items:
    - bird
    - bird6
  when: "'container' not in ansible_env"

- name: restart dhcpd
  systemd:
    name: dhcpd.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart radvd
  systemd:
    name: radvd.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart radiusd
  systemd:
    name: radiusd.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart getusers
  systemd:
    name: getusers.timer
    state: restarted
    daemon_reload: yes
  when: "'container' not in ansible_env"

- name: restart unbound
  systemd:
    name: unbound.service
    state: restarted
  when: "'container' not in ansible_env"

- name: restart avahi-daemon
  systemd:
    name: avahi-daemon.service
    state: restarted
  when: "'container' not in ansible_env"

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