Sha256: 035a04979cf5e5855bae7310ef3c98927a199393e59fccababd1590cb95e63e1
Contents?: true
Size: 814 Bytes
Versions: 1
Compression:
Stored size: 814 Bytes
Contents
- 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: Ensure unicorn is running remote_user: "{{ deployer_user.name }}" command: bash -lc "sudo monit start unicorn" tags: [be_deploy,unicorn_start] - name: Restart Unicorn remote_user: "{{ deployer_user.name }}" command: bash -lc "sudo monit restart unicorn" tags: [unicorn_restart,be_deploy] - 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]
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taperole-1.0.0 | roles/unicorn_activate/tasks/main.yml |