代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/ovirt-engine 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。