- systemd and ansbile files added.
This commit is contained in:
13
deploy/ansible.yml
Normal file
13
deploy/ansible.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
- hosts: {{ deploy_hosts }}
|
||||
remote_user: ubuntu
|
||||
tasks:
|
||||
- name: copy execute file to dest
|
||||
copy:
|
||||
src: jx-callback
|
||||
dest: /jxdata/jx-callback/jx-callback
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
mode: u=rwx, g=rx, o=r
|
||||
- name: shell
|
||||
shell: sudo systemctl restart jx-callback
|
||||
Reference in New Issue
Block a user