initial commit
This commit is contained in:
commit
13eace9ce9
219 files changed
+6918
No files matched your search
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- name: check xray-core config
|
||||
ansible.builtin.command: su -s /bin/sh xray-core -c "/opt/xray-core/xray run -test -c /etc/xray-core/config.json"
|
||||
changed_when: false
|
||||
listen: restart xray-core
|
||||
|
||||
- name: restart xray-core systemd service unit
|
||||
ansible.builtin.systemd_service:
|
||||
name: xray-core
|
||||
state: restarted
|
||||
enabled: true
|
||||
daemon_reload: true
|
||||
listen: restart xray-core
|
||||
Reference in new issue
Block a user