From 7d1b8bcc4cc0b1d85faf2d7be3c51828e0c4cc0c Mon Sep 17 00:00:00 2001 From: xuu Date: Mon, 29 May 2023 10:28:30 -0600 Subject: [PATCH] Add '.ansible/playbook.yml' --- .ansible/playbook.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .ansible/playbook.yml diff --git a/.ansible/playbook.yml b/.ansible/playbook.yml new file mode 100644 index 0000000..1955a4a --- /dev/null +++ b/.ansible/playbook.yml @@ -0,0 +1,16 @@ +--- +- name: Deploy EV + hosts: lavana + + tasks: + - name: Copy build to remote + ansible.builtin.copy: + src: ev + dest: /usr/local/bin/ev + owner: root + group: root + - name: Restart service + systemd: + name: ev + enabled: true + state: restarted