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

优化安装过程

上级 781ee8c8
...@@ -40,7 +40,7 @@ all: ...@@ -40,7 +40,7 @@ all:
ansible_ssh_common_args: '-o StrictHostKeyChecking=no' ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
ansible_password: "-abc0mN&MS" ansible_password: "-abc0mN&MS"
ansible_become_pass: '-abc0mN&MS' ansible_become_pass: '-abc0mN&MS'
package_local_repo_url: /opt/ package_local_repo_url: ./upgrade_pkgs/
package_install_temp_path: /usr/src/ package_install_temp_path: /usr/src/
source_package_info: source_package_info:
openssl: openssl:
...@@ -54,4 +54,5 @@ all: ...@@ -54,4 +54,5 @@ all:
archive_type: ".tar.gz" archive_type: ".tar.gz"
libssh2: libssh2:
archive_name: "libssh2-1.10.0" archive_name: "libssh2-1.10.0"
archive_type: ".tar.gz" archive_type: ".tar.gz"
\ No newline at end of file
\ No newline at end of file
# upgrade_openssx
upgrade_openssx
利用ansible-playbook批量升级openssh、openssl
\ No newline at end of file
...@@ -124,6 +124,10 @@ ...@@ -124,6 +124,10 @@
state: restarted state: restarted
enabled: yes enabled: yes
- name: systemctl enable sshd
shell: |
systemctl enable sshd
- name: Remove temporary telnet config and restore original - name: Remove temporary telnet config and restore original
shell: | shell: |
/bin/rm -f /etc/xinetd.d/telnet && /bin/rm -f /etc/xinetd.d/telnet &&
......
文件已添加
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册