Sha256: 01cbc19c8b70365a3d34f6e0b63f722f542230ce33fd63136c1906273b3e6010

Contents?: true

Size: 657 Bytes

Versions: 10

Compression:

Stored size: 657 Bytes

Contents

- name: Ensure puma owns it tmp dir
  file:
    path: "{{be_app_path}}/tmp"
    state: directory
    owner: deployer

- name: Ensure puma owns it pids dir
  file:
    path: "{{be_app_path}}/pids"
    state: directory
    owner: deployer

- name: Check if puma running
  shell: ps -ef | grep puma | grep -v grep
  register: puma_running
  changed_when: false
  ignore_errors: true

- name: Start Puma
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "sudo monit start puma"
  when: puma_running | failed

- name: Restart Puma
  remote_user: "{{ deployer_user.name }}"
  command: bash -lc "sudo monit restart puma"
  when: puma_running | success

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
taperole-2.1.1 roles/puma_activate/tasks/main.yml
taperole-2.1.0 roles/puma_activate/tasks/main.yml
taperole-2.0.7 roles/puma_activate/tasks/main.yml
taperole-2.0.6 roles/puma_activate/tasks/main.yml
taperole-2.0.5 roles/puma_activate/tasks/main.yml
taperole-2.0.4 roles/puma_activate/tasks/main.yml
taperole-2.0.3 roles/puma_activate/tasks/main.yml
taperole-2.0.2 roles/puma_activate/tasks/main.yml
taperole-2.0.1 roles/puma_activate/tasks/main.yml
taperole-2.0.0 roles/puma_activate/tasks/main.yml