1 Star 0 Fork 17

冰淇淋/ovirt-engine

forked from src-openEuler/ovirt-engine 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0007-add-config-item-for-openeuler.patch 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
From f7411c6c0795c0936ae59a4fab6c04d74da2d2bc Mon Sep 17 00:00:00 2001
From: wang--ge <wang__ge@126.com>
Date: Tue, 16 Nov 2021 09:19:20 +0800
Subject: [PATCH] add config item for openeuler
---
.../roles/ovirt-host-deploy-facts/tasks/host-os.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/packaging/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml b/packaging/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml
index 7e42653..ef92743 100644
--- a/packaging/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml
+++ b/packaging/ansible-runner-service-project/project/roles/ovirt-host-deploy-facts/tasks/host-os.yml
@@ -5,9 +5,15 @@
if ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS'
else 0 }}"
fc_ver: "{{ ansible_distribution_major_version|int
- if ansible_distribution == 'Fedora'
+ if (ansible_distribution == 'Fedora' or ansible_distribution == 'openEuler')
else 0 }}"
+- name: Check if system is OpenEuler
+ set_fact:
+ ansible_python_interpreter: "{{ 'usr/bin/python3' }}"
+ when:
+ ansible_distribution == 'openEuler'
+
- name: Fetch installed packages
package_facts:
manager: auto
@@ -26,3 +32,4 @@
- name: Detect if host is a prebuilt image
set_fact:
node_host: "{{ not node_presence.changed }}"
+
--
2.27.0
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/icace/ovirt-engine.git
git@gitee.com:icace/ovirt-engine.git
icace
ovirt-engine
ovirt-engine
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385