go-tools/.ansible/playbook.yml

25 lines
463 B
YAML
Raw Normal View History

2023-09-29 10:31:25 -06:00
---
- name: Deploy EV
hosts: lavana
tasks:
- name: Copy build to remote
ansible.builtin.copy:
2023-10-15 10:29:54 -06:00
src: ../ev
2023-09-29 10:31:25 -06:00
dest: /usr/local/bin/ev
owner: root
group: root
2023-09-30 16:19:41 -06:00
2023-10-01 16:56:28 -06:00
# - name: Copy build to remote
# ansible.builtin.copy:
# src: ev.service
# dest: /etc/systemd/system/ev.service
# owner: root
# group: root
2023-09-30 16:19:41 -06:00
2023-09-29 10:31:25 -06:00
- name: Restart service
systemd:
name: ev
enabled: true
state: restarted