c12s-kubespray/roles/dnsmasq/handlers/main.yml

11 lines
262 B
YAML
Raw Normal View History

- name: Dnsmasq | restart network
service:
name: >-
{% if ansible_os_family == "RedHat" -%}
network
{%- elif ansible_os_family == "Debian" -%}
networking
{%- endif %}
state: restarted
when: ansible_os_family != "CoreOS"