rubyforgood/babywearing

View on GitHub
deploy/ansible/sidekiq/tasks/main.yml

Summary

Maintainability
Test Coverage
---
- name: Copy system service file
  become: yes
  copy:
    src: sidekiq.service
    dest: /etc/systemd/system

- name: Enable sidekiq service
  become: yes
  systemd:
    name: sidekiq
    enabled: yes

- name: Force systemd to reread configs
  become: yes
  systemd:
    daemon_reload: yes