Files
jx-print/deploy/ansible.yml
邹宗楠 db5a88c108 1
2022-08-03 09:07:15 +08:00

22 lines
512 B
YAML

---
- hosts: "{{ deploy_hosts }}"
remote_user: ubuntu
tasks:
- name: copy shell
copy:
src: ../deploy/cleanup.sh
dest: "{{ deploy_dir }}/cleanup.sh"
owner: ubuntu
group: ubuntu
mode: 0777
- name: copy execute file to dest
copy:
src: ../jx-print
dest: "{{ deploy_dir }}/jx-print"
owner: ubuntu
group: ubuntu
mode: 0755
backup: no
- name: shell
shell: sudo systemctl restart jx-callback-print