Sha256: fc00a80f1903401f047f7c6075371431148058e738cc3e0461a6629cac82711f

Contents?: true

Size: 1.24 KB

Versions: 13

Compression:

Stored size: 1.24 KB

Contents

---
  - name: Install rails apt dependencies
    apt:
      name: "{{item}}"
    with_items:
      - git
      - imagemagick
      - libffi-dev
      - libgmp3-dev
      - libmagickwand-dev
      - libpq-dev
      - libxslt-dev
      - nodejs
      - zlib1g-dev
    become: true

  - name: Create /u/apps/{{project_name}}/shared/config
    file:
      path: /u/apps/{{project_name}}/shared/config/
      state: directory
    become: true
    become_user: "{{deploy_user}}"

  - name: Create database.yml
    template:
      src: database.yml
      dest: /u/apps/{{project_name}}/shared/config/database.yml
      owner: "{{deploy_user}}"
    become: true

  - name: Create application.yml (legacy)
    when: appyml is defined
    template:
      src: application.yml
      dest: /u/apps/{{project_name}}/shared/config/application.yml
      owner: "{{deploy_user}}"
    become: true

  - debug:
      msg: "Warning: Using legacy appyml for variable configuration.  Consider switching to application.yml.template"
      verbosity: 0
    when: appyml is defined

  - name: Create application.yml
    when: appyml is not defined
    template:
      src: application.yml.template
      dest: /u/apps/{{project_name}}/shared/config/application.yml
      owner: "{{deploy_user}}"

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
subspace-0.6.17 ansible/roles/rails/tasks/main.yml
subspace-0.6.16 ansible/roles/rails/tasks/main.yml
subspace-0.6.15 ansible/roles/rails/tasks/main.yml
subspace-0.4.11 ansible/roles/rails/tasks/main.yml
subspace-0.4.10 ansible/roles/rails/tasks/main.yml
subspace-0.4.9 ansible/roles/rails/tasks/main.yml
subspace-0.4.8 ansible/roles/rails/tasks/main.yml
subspace-0.4.7 ansible/roles/rails/tasks/main.yml
subspace-0.4.6 ansible/roles/rails/tasks/main.yml
subspace-0.4.5 ansible/roles/rails/tasks/main.yml
subspace-0.4.4 ansible/roles/rails/tasks/main.yml
subspace-0.4.3 ansible/roles/rails/tasks/main.yml
subspace-0.4.2 ansible/roles/rails/tasks/main.yml