go-paste/.ansible/playbook.yml
xuu b7f4d06731
All checks were successful
Deploy / deploy (push) Successful in 1m36s
feat: add qrcode
2023-10-14 07:55:21 -06:00

28 lines
588 B
YAML

---
- name: Deploy EV
hosts: kapha
tasks:
- name: Copy build to remote
ansible.builtin.copy:
src: ../build/sour.is-paste
dest: /usr/local/bin/sour.is-paste
mode: u=rwx,g=rx,o=rx
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
group: root
- name: Restart service
systemd:
name: sour.is-paste
enabled: true
daemon_reload: true
state: restarted