mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Fix iputils install failure in Kylin OS (#9416)
Signed-off-by: bo.jiang <bo.jiang@daocloud.io> Signed-off-by: bo.jiang <bo.jiang@daocloud.io>
This commit is contained in:
@@ -84,6 +84,14 @@
|
|||||||
or is_fedora_coreos
|
or is_fedora_coreos
|
||||||
or ansible_distribution == "Fedora")
|
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
|
- name: Install ceph-commmon package
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
|
|||||||
@@ -6,14 +6,6 @@
|
|||||||
tags:
|
tags:
|
||||||
- facts
|
- 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
|
- name: check if booted with ostree
|
||||||
stat:
|
stat:
|
||||||
path: /run/ostree-booted
|
path: /run/ostree-booted
|
||||||
|
|||||||
Reference in New Issue
Block a user