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