diff --git a/roles/reset/defaults/main.yml b/roles/reset/defaults/main.yml index b63f2e2a85d..3b312009d2c 100644 --- a/roles/reset/defaults/main.yml +++ b/roles/reset/defaults/main.yml @@ -11,7 +11,8 @@ reset_restart_network_service_name: >- {%- else -%} network {%- endif -%} - {%- elif ansible_distribution == "Ubuntu" -%} + {%- elif ansible_distribution == "Ubuntu" + or (ansible_distribution == "Debian" and ansible_distribution_major_version | int == 12 ) -%} systemd-networkd {%- elif ansible_os_family == "Debian" -%} networking