Files
jx-callback/deploy/ansible.yml
2018-07-31 14:59:18 +08:00

14 lines
327 B
YAML

---
- 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