Skip to content

Commit a5f2354

Browse files
committed
os_family
1 parent 99b5a0f commit a5f2354

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

roles/kubernetes/preinstall/tasks/0040-set_facts.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
tags:
77
- facts
88

9+
- name: Set os_family fact for Kylin Linux Advanced Server
10+
set_fact:
11+
ansible_os_family: "RedHat"
12+
ansible_distribution_major_version: "8"
13+
when: ansible_distribution == "Kylin Linux Advanced Server"
14+
tags:
15+
- facts
16+
917
- name: check if booted with ostree
1018
stat:
1119
path: /run/ostree-booted

0 commit comments

Comments
 (0)