26 lines
536 B
YAML
26 lines
536 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
|
|
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
|
|
owner: root
|
|
group: root
|
|
|
|
- name: Restart service
|
|
systemd:
|
|
name: sour.is-paste
|
|
enabled: true
|
|
daemon_reload: true
|
|
state: restarted
|