Sha256: 72172413a1e737cdd1996d1c117d7c22b578c8529de98ff376c3bb468e12356a

Contents?: true

Size: 542 Bytes

Versions: 6

Compression:

Stored size: 542 Bytes

Contents

- name: Register with monit
  template: src=sidekiq.j2
            dest=/etc/monit/conf.d/sidekiq
            mode=u=rw,g=r,o=r
  register: sidekiq_monit_config

- name: Reload Monit
  command: bash -lc "monit reload"
  when: sidekiq_monit_config.changed

- name: Stop sidekiq
  remote_user: "{{deployer_user.name}}"
  command: bash -lc "sudo monit stop sidekiq"
  tags: [be_deploy, unicorn_stop]

- name: Start sidekiq
  remote_user: "{{deployer_user.name}}"
  command: bash -lc "sudo monit start sidekiq"
  tags: [be_deploy, unicorn_start]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
taperole-1.1.3 roles/sidekiq/tasks/main.yml
taperole-1.1.2 roles/sidekiq/tasks/main.yml
taperole-1.1.1 roles/sidekiq/tasks/main.yml
taperole-1.1.0 roles/sidekiq/tasks/main.yml
taperole-1.0.1 roles/sidekiq/tasks/main.yml
taperole-1.0.0 roles/sidekiq/tasks/main.yml