Sha256: fa5da31ea18348026d060e55a9b4c7d0e67b5586c8933f026b02905294dad519

Contents?: true

Size: 548 Bytes

Versions: 3

Compression:

Stored size: 548 Bytes

Contents

- name: Ensure unicorn is stopped
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "sudo monit restart unicorn"
  when: kill_unicorn

- name: Force stop unicorn
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "service unicorn_{{ app_name }} stop"
  when: kill_unicorn

- name: Ensure tmp dir present for unicorn pids
  file: state=directory path={{be_app_path}}/tmp/unicorn owner={{ deployer_user.name }}

- name: Restart Unicorn
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "sudo monit restart unicorn"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
taperole-1.8.2 roles/unicorn_activate/tasks/main.yml
taperole-1.8.1 roles/unicorn_activate/tasks/main.yml
taperole-1.8.0 roles/unicorn_activate/tasks/main.yml