Add '.ansible/playbook.yml'
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7139fd9e42
commit
7d1b8bcc4c
16
.ansible/playbook.yml
Normal file
16
.ansible/playbook.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user