Skip to content

Commit

Permalink
Fixed systemd-networkd restart for ubuntu 22.04, when using reset.yml (
Browse files Browse the repository at this point in the history
…kubernetes-sigs#8841)

* Fixed systemd-networkd restart  for ubuntu 22.04

* fixed systemd-networkd restart for all Ubuntu
  • Loading branch information
u2216 authored and LuckySB committed Jun 30, 2023
1 parent 9ee33c8 commit 4292ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/reset/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
{%- else -%}
network
{%- endif -%}
{%- elif ansible_distribution == "Ubuntu" and ansible_distribution_release in ["hirsute","bionic", "focal"] -%}
{%- elif ansible_distribution == "Ubuntu" -%}
systemd-networkd
{%- elif ansible_os_family == "Debian" -%}
networking
Expand Down

0 comments on commit 4292ee3

Please sign in to comment.