Skip to content
Snippets Groups Projects
Unverified Commit bcaa31ae authored by Takashi IIGUNI's avatar Takashi IIGUNI Committed by GitHub
Browse files

fix: Restart network doesn't work on Fedora CoreOS (#7271)


Running remove-node.yml tasks for clean up cluster on Fedora CoreOS.
The task failed to restart network daemon (task name: "reset | Restart network").
Fedora CoreOS is essentially using NetworkManager, but this task returns network.

Signed-off-by: default avatarTakashi IIGUNI <iiguni.tks@gmail.com>
parent 0cc17267
No related branches found
No related tags found
No related merge requests found
...@@ -321,7 +321,7 @@ ...@@ -321,7 +321,7 @@
service: service:
name: >- name: >-
{% if ansible_os_family == "RedHat" -%} {% if ansible_os_family == "RedHat" -%}
{%- if ansible_distribution_major_version|int == 8 -%} {%- if ansible_distribution_major_version|int == 8 or is_fedora_coreos -%}
NetworkManager NetworkManager
{%- else -%} {%- else -%}
network network
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment