Minor fix. Cruft removedc.
This commit is contained in:
parent
bff687df68
commit
844feb7f0e
1 changed files with 8 additions and 5 deletions
|
|
@ -88,17 +88,20 @@
|
||||||
become_flags: "-i"
|
become_flags: "-i"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
shell: bundle install
|
shell: bundle install --deployment
|
||||||
args:
|
args:
|
||||||
chdir: /opt/debshots
|
chdir: /opt/debshots
|
||||||
become: yes
|
become: yes
|
||||||
become_user: debshots
|
become_user: debshots
|
||||||
become_flags: "-i"
|
become_flags: "-i"
|
||||||
|
|
||||||
- name: Make sure that the public/ directory is readable by nginx
|
- name: Pre-render the static assets
|
||||||
file: path=/opt/debshots/public mode='go+rx'
|
shell: rails assets:precompile RAILS_ENV=production
|
||||||
- name: Make sure that the config.ru is readable by nginx
|
args:
|
||||||
file: path=/opt/debshots/config.ru mode='go+r'
|
chdir: /opt/debshots
|
||||||
|
become: yes
|
||||||
|
become_user: debshots
|
||||||
|
become_flags: "-i"
|
||||||
|
|
||||||
- name: Deploy nginx config
|
- name: Deploy nginx config
|
||||||
copy:
|
copy:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue