Add gpaste
Some checks are pending
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
2022-01-21 18:05:16 +01:00
parent 7b4f16d742
commit 5906946be7
5 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
---
- name: Create gpaste.service
ansible.builtin.template:
src: gpaste.service.j2
dest: /etc/systemd/system/gpaste.service
notify:
- Reload systemd
- Restart gpaste
- name: Flush handlers
meta: flush_handlers
- name: Ensure service is started
ansible.builtin.systemd:
state: started
name: gpaste
- name: Ensure service is enabled
ansible.builtin.systemd:
enabled: yes
name: gpaste