Browse Source

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: Takashi IIGUNI <iiguni.tks@gmail.com>
pull/7270/head
Takashi IIGUNI 3 years ago
committed by GitHub
parent
commit
bcaa31ae33
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/reset/tasks/main.yml

2
roles/reset/tasks/main.yml

@ -321,7 +321,7 @@
service:
name: >-
{% if ansible_os_family == "RedHat" -%}
{%- if ansible_distribution_major_version|int == 8 -%}
{%- if ansible_distribution_major_version|int == 8 or is_fedora_coreos -%}
NetworkManager
{%- else -%}
network

Loading…
Cancel
Save