mirror of https://github.com/jumpserver/jumpserver
perf: 优化发布机部署
parent
49d2bd93b7
commit
7d46aa9892
|
@ -19,6 +19,18 @@
|
|||
|
||||
tasks:
|
||||
- block:
|
||||
- name: Check if CORE_HOST is redirects
|
||||
ansible.windows.win_uri:
|
||||
url: "{{ CORE_HOST }}"
|
||||
method: GET
|
||||
follow_redirects: none
|
||||
status_code: [200, 301, 302, 303, 307, 308]
|
||||
register: core_host_redirects
|
||||
|
||||
- fail:
|
||||
msg: "CORE_HOST {{ CORE_HOST }} is redirecting to {{ core_host_redirects.location }}, please use the final url"
|
||||
when: core_host_redirects.status_code >= 300 and core_host_redirects.status_code < 400
|
||||
|
||||
- name: Install RDS-RD-Server (RDS)
|
||||
ansible.windows.win_feature:
|
||||
name: RDS-RD-Server
|
||||
|
|
|
@ -5,6 +5,10 @@ description = "广受欢迎的开源堡垒机"
|
|||
authors = ["ibuler <ibuler@qq.com>"]
|
||||
license = "GPLv3"
|
||||
readme = "README.md"
|
||||
package-mode = false
|
||||
repository = "https://github.com/jumpserver/jumpserver"
|
||||
homepage = "https://www.jumpserver.org"
|
||||
documentation = "https://docs.jumpserver.org"
|
||||
|
||||
# 说明
|
||||
# poetry install (社区版)
|
||||
|
|
Loading…
Reference in New Issue