From 6f3748ebf991301aebf1854b41b54638152ff63d Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Thu, 15 Jul 2021 16:37:03 +0800 Subject: [PATCH] aa --- deploy/ansible.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 deploy/ansible.yml diff --git a/deploy/ansible.yml b/deploy/ansible.yml new file mode 100644 index 0000000..611abdb --- /dev/null +++ b/deploy/ansible.yml @@ -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