Sha256: b8714ffc4fc3839b4a4b1bebfd70b12e163bb6215e18ee93badae92bbe303256

Contents?: true

Size: 961 Bytes

Versions: 16

Compression:

Stored size: 961 Bytes

Contents

- set_fact:
    puma_installed: true

- name: Create shared/config/puma
  file: path=/u/apps/{{project_name}}/shared/config/puma group=deploy owner=deploy state=directory
  tags: puma

- name: Add puma shared/config
  template: src=puma.rb dest=/u/apps/{{project_name}}/shared/config/puma/{{rails_env}}.rb group=deploy owner=deploy force=yes mode=755
  tags: puma

- name: Make shared/tmp/sockets
  file: path=/u/apps/{{project_name}}/shared/tmp/sockets group=deploy owner=deploy state=directory
  tags: tmp

- name: Install puma monit script
  template:
    src: puma-monit-rc
    dest: /etc/monit/conf-available/puma_{{project_name}}_{{rails_env}}

- name: Clean up old puma monit scripts
  shell: rm -f /etc/monit/conf.d/puma_*

- name: Enable puma monit script
  file:
    src: /etc/monit/conf-available/puma_{{project_name}}_{{rails_env}}
    dest: /etc/monit/conf-enabled/puma_{{project_name}}_{{rails_env}}
    state: link
  notify:
    - restart_monit

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
subspace-1.0.8 ansible/roles/puma/tasks/main.yml
subspace-1.0.7 ansible/roles/puma/tasks/main.yml
subspace-1.0.6 ansible/roles/puma/tasks/main.yml
subspace-1.0.5 ansible/roles/puma/tasks/main.yml
subspace-1.0.4 ansible/roles/puma/tasks/main.yml
subspace-1.0.3 ansible/roles/puma/tasks/main.yml
subspace-1.0.2 ansible/roles/puma/tasks/main.yml
subspace-1.0.1 ansible/roles/puma/tasks/main.yml
subspace-1.0.0 ansible/roles/puma/tasks/main.yml
subspace-0.6.17 ansible/roles/puma/tasks/main.yml
subspace-0.6.16 ansible/roles/puma/tasks/main.yml
subspace-0.6.15 ansible/roles/puma/tasks/main.yml
subspace-0.5.15 ansible/roles/puma/tasks/main.yml
subspace-0.5.14 ansible/roles/puma/tasks/main.yml
subspace-0.4.14 ansible/roles/puma/tasks/main.yml
subspace-0.4.13 ansible/roles/puma/tasks/main.yml