Commit b8f9ca3e authored by jaywink's avatar jaywink

Fix apache and bower parts

Some problems found on a clean server.
parent 087052f0
---
- name: Apache proxy module
apache2_module: state=present name=proxy
notify:
- restart apache
- name: Apache uwsgi module deps
apt: name=libapache2-mod-proxy-uwsgi
notify:
- restart apache
- name: Apache modules
- name: Apache additional modules
apache2_module: state=present name={{ item }}
with_items:
- proxy_uwsgi
- proxy_wstunnel
- proxy
- ssl
notify:
- restart apache
- name: Apache site
template: dest=/etc/apache2/sites-available/{{ socialhome_domain }}.conf src=apache.conf
- name: Enable site
command: a2ensite {{ socialhome_domain }}
notify:
......
......@@ -48,8 +48,9 @@
- name: Do NPM install
npm: path=/home/{{ socialhome_os_user }}/socialhome state=latest
become_user: "{{ socialhome_os_user }}"
- name: Do bowering
bower: path=/home/{{ socialhome_os_user }}/socialhome state=latest
bower: path=/home/{{ socialhome_os_user }}/socialhome state=latest relative_execpath=node_modules/.bin
become_user: "{{ socialhome_os_user }}"
- name: Webpack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment