Sha256: 4cbe5e9e7a345219c7de8e690a9a52bea4ad0c7e31616f4cf006ceb4754d9ad2

Contents?: true

Size: 905 Bytes

Versions: 1

Compression:

Stored size: 905 Bytes

Contents

---
- name: Install Suspenders
  gem: name=suspenders state=present

- name: Install Bundler
  gem: name=bundler state=present

- name: Generate application
  command: env PATH={{ gem_bin_path }}:$PATH suspenders .
  args:
    chdir: "{{ app_path }}"
    creates: "{{ app_path }}/Gemfile"

- name: Install application gems
  command: env PATH={{ gem_bin_path }}:$PATH bundle install
  args:
    chdir: "{{ app_path }}"

- name: Configure Simple Form
  command: env PATH={{ gem_bin_path }}:$PATH rails g simple_form:install
  args:
    chdir: "{{ app_path }}"

- name: Create application database
  command: env PATH={{ gem_bin_path }}:$PATH rake db:create chdir={{ app_path }}
    
- name: Migrate application database
  command: env PATH={{ gem_bin_path }}:$PATH rake db:migrate chdir={{ app_path }}

- name: Set up application
  command: env PATH={{ gem_bin_path }}:$PATH bin/setup chdir={{ app_path }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arkenstone-0.2.0 lib/arkenstone/templates/ansible/roles/rails/tasks/main.yml