Add '.ansible/playbook.yml'
continuous-integration/drone/push Build is passing

This commit is contained in:
xuu committed 2023-05-29 10:28:30 -06:00
1 parent 7139fd9e42
commit 7d1b8bcc4c
1 file changed
+16
+16
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