|
@@ -2,7 +2,7 @@
|
2
|
2
|
git: repo=https://github.com/SSilence/selfoss.git
|
3
|
3
|
dest=/var/www/selfoss
|
4
|
4
|
accept_hostkey=yes
|
5
|
|
- version=master
|
|
5
|
+ version={{ selfoss_version }}
|
6
|
6
|
|
7
|
7
|
- name: Set selfoss ownership
|
8
|
8
|
action: file owner=root group=www-data path=/var/www/selfoss recurse=yes state=directory
|
|
@@ -34,7 +34,7 @@
|
34
|
34
|
postgresql_db: login_host=localhost login_user={{ db_admin_username }} login_password="{{ db_admin_password }}" name={{ selfoss_db_database }} state=present owner={{ selfoss_db_username }}
|
35
|
35
|
|
36
|
36
|
- name: Install selfoss config.ini
|
37
|
|
- template: src=var_www_selfoss_config.ini.j2 dest=/var/www/selfoss/config.ini group=www-data owner=root
|
|
37
|
+ template: src=var_www_selfoss_config.ini.j2 dest=/var/www/selfoss/config.ini group=www-data owner=root mode=0640
|
38
|
38
|
|
39
|
39
|
- name: Enable Apache rewrite module
|
40
|
40
|
command: a2enmod rewrite creates=/etc/apache2/mods-enabled/rewrite.load
|