Add '.ansible/playbook.yml'
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
xuu 2023-05-29 10:28:30 -06:00
parent 7139fd9e42
commit 7d1b8bcc4c

16
.ansible/playbook.yml Normal file
View File

@ -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