go-tools/.ansible/playbook.yml
xuu 3b3d4e7e3e
Some checks failed
Go Bump / bump (push) Successful in 38s
Deploy / deploy (push) Failing after 1m11s
Go Test / test (push) Successful in 52s
build: use go install
2023-10-15 10:34:53 -06:00

25 lines
463 B
YAML

---
- 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: Copy build to remote
# ansible.builtin.copy:
# src: ev.service
# dest: /etc/systemd/system/ev.service
# owner: root
# group: root
- name: Restart service
systemd:
name: ev
enabled: true
state: restarted