提交 089847d0 编写于 作者: uje.amw's avatar uje.amw

20230224提交

上级 e5b2cac2
...@@ -2,9 +2,33 @@ all: ...@@ -2,9 +2,33 @@ all:
children: children:
oel: oel:
hosts: hosts:
oel_01: app0:
ansible_host: 1.92.6.3 ansible_host: '2020:1212:5020:a098::6'
node_id: 0 node_id: 0
app1:
ansible_host: '2020:1212:5020:a098::7'
node_id: 0
cs0:
ansible_host: '2020:1212:5020:a098::8'
node_id: 0
cs1:
ansible_host: '2020:1212:5020:a098::9'
node_id: 0
db0:
ansible_host: '2020:1212:5020:a098::4'
node_id: 0
db1:
ansible_host: '2020:1212:5020:a098::5'
node_id: 0
mc0:
ansible_host: '2020:1212:5020:a098::1'
node_id: 0
mc1:
ansible_host: '2020:1212:5020:a098::2'
node_id: 0
mc2:
ansible_host: '2020:1212:5020:a098::3'
node_id: 0
redhat: redhat:
hosts: hosts:
redhat_01: redhat_01:
......
...@@ -15,8 +15,7 @@ ...@@ -15,8 +15,7 @@
| openEuler 21.03 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 | | openEuler 21.03 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 |
| openEuler 21.09 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 | | openEuler 21.09 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 |
| Redhat 8 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 | | Redhat 8 | openssh-9.2p1 | openssl-1.1.1t | curl-7.88.0 |
# 使用方法 # 使用方法
...@@ -78,7 +77,6 @@ all: ...@@ -78,7 +77,6 @@ all:
``` ```
修改里面的host信息,改成需要升级的**guest**主机地址,如果有多个,可以复制多个即可(注意Euler和Redhat系统分开),例如: 修改里面的host信息,改成需要升级的**guest**主机地址,如果有多个,可以复制多个即可(注意Euler和Redhat系统分开),例如:
```yaml ```yaml
...@@ -95,7 +93,6 @@ all: ...@@ -95,7 +93,6 @@ all:
``` ```
此外,还要根据实际要升级的openssh openssl版本,修改版本信息: 此外,还要根据实际要升级的openssh openssl版本,修改版本信息:
```yaml ```yaml
...@@ -114,7 +111,6 @@ all: ...@@ -114,7 +111,6 @@ all:
``` ```
## 上传包和脚本 ## 上传包和脚本
需要将openssh openssl和ansible脚本都上传到**installer**(请注意不是**guest**,而是**installer**)的/opt/目录下,例如: 需要将openssh openssl和ansible脚本都上传到**installer**(请注意不是**guest**,而是**installer**)的/opt/目录下,例如:
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
line: "{{ item.content }}" line: "{{ item.content }}"
create: yes create: yes
loop: loop:
- { filename: "/etc/ld.so.conf.d/openssl-x86_64.conf", content: "/usr/local/openssl/lib" } - { filename: "/etc/ld.so.conf.d/00-openssl-x86_64.conf", content: "/usr/local/openssl/lib" }
- { filename: "/etc/profile.d/openssl.sh", content: "PATH=$PATH:/usr/local/openssl/bin" } - { filename: "/etc/profile.d/openssl.sh", content: "PATH=$PATH:/usr/local/openssl/bin" }
- name: ldconfig - name: ldconfig
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册