aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/roles/systemd_depend_iface/handlers/service.yml
blob: 10ead9136046e47de97202302e8e6c764cea5651 (plain) (tree)
1
2
3
4
5
6




                                         
- name: 'Restart {{ service }}'
  become: true
  ansible.builtin.systemd_service:
    name: '{{ service }}'
    state: restarted
  when: service in ansible_facts.services