11 lines
262 B
YAML
11 lines
262 B
YAML
|
- 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"
|