Fixed systemd-networkd restart for ubuntu 22.04, when using reset.yml (#8841)

* Fixed systemd-networkd restart  for ubuntu 22.04

* fixed systemd-networkd restart for all Ubuntu
pull/8837/head
Andrey 2022-05-20 09:34:53 +03:00 committed by GitHub
parent a28b58dbd0
commit e42a01f203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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