Skip to content
Snippets Groups Projects
Verified Commit 5ba23e32 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

roles/archweb: Fix the role to allow installation when archweb_site: false

parent 999761bc
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,15 @@
pacman: name=git,python2,python2-virtualenv,uwsgi-plugin-python2 state=present
- name: make archweb user
user: name=archweb shell=/bin/false home="{{ archweb_dir }}" createhome=no groups=uwsgi
user: name=archweb shell=/bin/false home="{{ archweb_dir }}" createhome=no
- name: fix home permissions
file: state=directory owner=archweb group=archweb path="{{ archweb_dir }}"
- name: set archweb groups
user: name=archweb groups=uwsgi
when: archweb_site
- name: set up nginx
template: src=nginx.d.conf.j2 dest=/etc/nginx/nginx.d/archweb.conf owner=root group=root mode=644
notify:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment