aa
This commit is contained in:
14
deploy/ansible.yml
Normal file
14
deploy/ansible.yml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
- hosts: "{{ deploy_hosts }}"
|
||||||
|
remote_user: ubuntu
|
||||||
|
tasks:
|
||||||
|
- 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-print
|
||||||
Reference in New Issue
Block a user