Sha256: fcc8edca06ee8c9bdc9b747eb1a8c1319bc0b1d0d3730e5a0e8dd94f25e82bb3

Contents?: true

Size: 953 Bytes

Versions: 5

Compression:

Stored size: 953 Bytes

Contents

- name: Add puma-manager
  template: src=etc-init-puma-manager.conf dest=/etc/init/puma-manager.conf force=yes mode=755
  tags: puma

- name: Add puma config
  template: src=etc-puma.conf dest=/etc/puma.conf force=yes mode=755
  tags: puma

- name: Add puma init script
  template: src=etc-init-puma.conf dest=/etc/init/puma.conf force=yes mode=755
  tags: puma

# - name: Add puma shared/config
#   template: src=puma_production.j2 dest=/u/apps/{{project_name}}/shared/config/puma/production.rb 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: Restart puma-manager
  action: service name=puma-manager state=restarted

- name: Add Deploy user to sudoers
  lineinfile:
    dest: /etc/sudoers
    state: present
    regexp: "^{{deploy_user}}"
    line: "{{deploy_user}} ALL=NOPASSWD: /usr/sbin/service puma-manager *"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
subspace-0.3.0 ansible/roles/puma/tasks/main.yml
subspace-0.2.1 ansible/roles/puma/tasks/main.yml
subspace-0.1.3 ansible/roles/puma/tasks/main.yml
subspace-0.1.2 ansible/roles/puma/tasks/main.yml
subspace-0.1.1 ansible/roles/puma/tasks/main.yml