diff --git a/roles/bootstrap-os/tasks/main.yml b/roles/bootstrap-os/tasks/main.yml
index 7ce82e686684a59693645d4446db83f0838f34bb..fbd15713a1ed11b46df274d7a4f59d7d72687e1e 100644
--- a/roles/bootstrap-os/tasks/main.yml
+++ b/roles/bootstrap-os/tasks/main.yml
@@ -84,14 +84,6 @@
     or is_fedora_coreos
     or ansible_distribution == "Fedora")
 
-- name: Set os_family fact for Kylin Linux Advanced Server
-  set_fact:
-    ansible_os_family: "RedHat"
-    ansible_distribution_major_version: "8"
-  when: ansible_distribution == "Kylin Linux Advanced Server"
-  tags:
-    - facts
-
 - name: Install ceph-commmon package
   package:
     name:
diff --git a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
index b450a4ef9473fa0b662be48e0dec66419cd7276f..4705be9c681867aef8450f838e6de4680acdf736 100644
--- a/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
+++ b/roles/kubernetes/preinstall/tasks/0020-verify-settings.yml
@@ -103,10 +103,10 @@
 - name: Ensure ping package
   package:
     name: >-
-          {%- if ansible_os_family in ['RedHat', 'Suse'] -%}
-          iputils
-          {%- else -%}
+          {%- if ansible_os_family == 'Debian' -%}
           iputils-ping
+          {%- else -%}
+          iputils
           {%- endif -%}
     state: present
   when:
diff --git a/roles/kubernetes/preinstall/tasks/0040-set_facts.yml b/roles/kubernetes/preinstall/tasks/0040-set_facts.yml
index e6148ace1c3310e07057cb230f2853c0f47a9bca..54aa5b6dccca4cc27868342f6084a6e32b8cbb3d 100644
--- a/roles/kubernetes/preinstall/tasks/0040-set_facts.yml
+++ b/roles/kubernetes/preinstall/tasks/0040-set_facts.yml
@@ -6,6 +6,14 @@
   tags:
     - facts
 
+- name: Set os_family fact for Kylin Linux Advanced Server
+  set_fact:
+    ansible_os_family: "RedHat"
+    ansible_distribution_major_version: "8"
+  when: ansible_distribution == "Kylin Linux Advanced Server"
+  tags:
+    - facts
+
 - name: check if booted with ostree
   stat:
     path: /run/ostree-booted