Skip to content
Snippets Groups Projects
Commit c2710899 authored by RuriRyan's avatar RuriRyan Committed by k8s-ci-robot
Browse files

Fixes network restart for Ubuntu Bionic Beaver (#3600)

As Ubuntu Bionic Beaver uses systemd-networkd the step fails
if it tries to restart networking, as it is nonexistent.
parent b997912e
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
name: >- name: >-
{% if ansible_os_family == "RedHat" -%} {% if ansible_os_family == "RedHat" -%}
network network
{%- elif ansible_distribution == "Ubuntu" and ansible_distribution_release == "bionic" -%}
systemd-networkd
{%- elif ansible_os_family == "Debian" -%} {%- elif ansible_os_family == "Debian" -%}
networking networking
{%- endif %} {%- endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment