go-tools/.ansible/playbook.yml
xuu ce24e04f0e
Some checks failed
Go Test / test (push) Successful in 55s
Go Bump / bump (push) Successful in 38s
Deploy / deploy (push) Failing after 1m8s
build: use go install
2023-10-15 10:33:48 -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