build: use go install
Some checks failed
Deploy / deploy (push) Failing after 1m5s

This commit is contained in:
xuu
2023-10-15 14:27:15 -06:00
parent b7f4d06731
commit fd913404c8
2 changed files with 13 additions and 15 deletions

View File

@@ -5,23 +5,23 @@
tasks:
- name: Copy build to remote
ansible.builtin.copy:
src: ../build/sour.is-paste
src: ../sour.is-paste
dest: /usr/local/bin/sour.is-paste
mode: u=rwx,g=rx,o=rx
owner: root
owner: root
group: root
- name: Copy build to remote
ansible.builtin.copy:
src: sour.is-paste.service
dest: /etc/systemd/system/sour.is-paste.service
mode: u=r,g=r,o=r
owner: root
mode: u=r,g=r,o=r
owner: root
group: root
- name: Restart service
systemd:
name: sour.is-paste
enabled: true
name: sour.is-paste
enabled: true
daemon_reload: true
state: restarted