Skip to content
Snippets Groups Projects

WIP: add acmebot role

2 files
+ 21
1
Compare changes
  • Side-by-side
  • Inline

Files

@@ -235,12 +235,32 @@
- "{{ app.app }}"
- "{{ app.instance }}"
- name: Create bundler directories with user permissions
file:
path: "{{ item }}"
state: directory
mode: 0775
owner: "{{ app_user }}"
loop:
- "{{ app_path }}/.bundle"
- "{{ app_path }}/vendor"
when:
- app_gemfile is defined
- app_gemfile|string != ''
- app_lang == "ruby"
tags:
- uwsgi-app
- "{{ app.app }}"
- "{{ app.instance }}"
- name: Install gems
bundler:
deployment_mode: true
exclude_groups:
- development
gemfile: "{{ app_gemfile }}"
become: true
become_user: "{{ app_user }}"
when:
- app_gemfile is defined
- app_gemfile|string != ''
Loading