xoxys.freshrss_docker/tasks/setup.yml
Robert Kaussow 15bbb52f46
All checks were successful
continuous-integration/drone/push Build is passing
refactor molecule
2019-10-27 23:23:44 +01:00

21 lines
610 B
YAML

---
- block:
- name: Deploy compose file to '{{ freshrss_service_directory }}'
template:
src: "services/freshrss-compose.yml.j2"
dest: "{{ freshrss_service_directory }}/docker-compose.yml"
owner: root
group: root
mode: 0644
validate: /bin/docker-compose -f %s config -q
notify: __freshrss_restart
- name: Create systemd unit files
template:
src: "etc/systemd/system/freshrss.service.j2"
dest: "/etc/systemd/system/freshrss.service"
mode: 0644
notify: __freshrss_restart
become: True
become_user: root