MyGit

w00lf/xray-server-ansible

Fork: 0 Star: 0 (更新于 2024-11-20 00:46:36)

license: 暂无

Language: Jinja .

A simple collection of ansible custom roles to create a xray server(https://github.com/XTLS/Xray-core)

GitHub网址

Xray server

a collection of simple ansible roles to create a xray server. Also includes some necessary secutiry improvments(thanks to https://github.com/geerlingguy/ansible-role-security)

Installation

In order for site.yml playbook to work one need the following varibales:

---
# Xray server config
xray_uuid: my_uuid
xray_private_key: my_private_key
xray_short_id: my_short_id

# Deploy user
deploy_user: my_custom_user_name
# Generate with `make generate_hashed_password`
deploy_password: my_generated_hash
ssh_public_key_files:
  - my_id_rsa_server_key

In addition to the required vars above one can use all avaible vars from https://github.com/geerlingguy/ansible-role-security, example:

security_ssh_port: 1234
security_ssh_password_authentication: "no"
security_ssh_permit_root_login: "no"
security_ssh_usedns: "no"
security_ssh_permit_empty_password: "no"
security_ssh_challenge_response_auth: "no"
security_ssh_gss_api_authentication: "no"
security_ssh_x11_forwarding: "no"
security_fail2ban_enabled: true

security_sudoers_passwordless: [my_custom_user_name]
security_autoupdate_enabled: false

最近版本更新:(数据更新于 1970-01-01 00:00:00)

w00lf/xray-server-ansible同语言 Jinja最近更新仓库

2024-09-11 20:29:37 hassio-addons/addon-adguard-home

2024-08-11 02:42:05 netbootxyz/netboot.xyz

2024-07-03 05:53:58 ansible/awx-operator

2024-01-23 17:21:23 ANXS/postgresql

2023-11-07 01:10:20 kubernetes-sigs/kubespray

2022-08-22 21:29:48 lsgalves/ansible-role-ipban