Sha256: 558c7eec7b1a8495a7dd262e8ebe5237d4097ac93517b18a5bd349aa510306ae

Contents?: true

Size: 631 Bytes

Versions: 5

Compression:

Stored size: 631 Bytes

Contents

- name: Install unicorn init.d script
  template: src=unicorn_init.j2
            dest=/etc/init.d/unicorn_{{app_name}}
            mode=u=rw,g=rx,o=rx

- name: Set up unicorn log dir
  file: path={{be_app_path}}/log state=directory owner=deployer

- name: Install unicorn config
  template: src=unicorn.rb.j2
            dest={{be_app_path}}/config/unicorn.rb

- name: Register monit config files
  template: src=unicorn_monit.j2
            dest=/etc/monit/conf.d/unicorn
            mode=u=rw,g=r,o=r
  register: unicorn_monit_config

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
taperole-1.8.2 roles/unicorn_install/tasks/main.yml
taperole-1.8.1 roles/unicorn_install/tasks/main.yml
taperole-1.8.0 roles/unicorn_install/tasks/main.yml
taperole-1.7.1 roles/unicorn_install/tasks/main.yml
taperole-1.7.0 roles/unicorn_install/tasks/main.yml