Sha256: f6b24859344525412aaeba65106b3d4ffd09b821090292fb330ddd15fbf66f22

Contents?: true

Size: 656 Bytes

Versions: 36

Compression:

Stored size: 656 Bytes

Contents

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

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

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

- name: Restart Unicorn
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "sudo monit restart unicorn"
  tags: [unicorn_restart,be_deploy]

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
taperole-1.7.1 roles/unicorn_activate/tasks/main.yml
taperole-1.7.0 roles/unicorn_activate/tasks/main.yml
taperole-1.6.0 roles/unicorn_activate/tasks/main.yml
taperole-1.5.5 roles/unicorn_activate/tasks/main.yml
taperole-1.5.4 roles/unicorn_activate/tasks/main.yml
taperole-1.5.3 roles/unicorn_activate/tasks/main.yml
taperole-1.5.2 roles/unicorn_activate/tasks/main.yml
taperole-1.5.1 roles/unicorn_activate/tasks/main.yml
taperole-1.5.0 roles/unicorn_activate/tasks/main.yml
taperole-1.4.3 roles/unicorn_activate/tasks/main.yml
taperole-1.4.2 roles/unicorn_activate/tasks/main.yml
taperole-1.4.1 roles/unicorn_activate/tasks/main.yml
taperole-1.4.0 roles/unicorn_activate/tasks/main.yml
taperole-1.3.6 roles/unicorn_activate/tasks/main.yml
taperole-1.3.5 roles/unicorn_activate/tasks/main.yml
taperole-1.3.4 roles/unicorn_activate/tasks/main.yml
taperole-1.3.3 roles/unicorn_activate/tasks/main.yml
taperole-1.3.2 roles/unicorn_activate/tasks/main.yml
taperole-1.3.1 roles/unicorn_activate/tasks/main.yml
taperole-1.3.0 roles/unicorn_activate/tasks/main.yml