Browse Source

Pin Selfoss version to an actual release

Alex Payne 9 years ago
parent
commit
27e9340402
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      roles/news/tasks/selfoss.yml
  2. 1
    0
      vars/defaults.yml

+ 1
- 1
roles/news/tasks/selfoss.yml View File

2
   git: repo=https://github.com/SSilence/selfoss.git
2
   git: repo=https://github.com/SSilence/selfoss.git
3
        dest=/var/www/selfoss
3
        dest=/var/www/selfoss
4
        accept_hostkey=yes
4
        accept_hostkey=yes
5
-       version=master
5
+       version={{ selfoss_version }}
6
 
6
 
7
 - name: Set selfoss ownership
7
 - name: Set selfoss ownership
8
   action: file owner=root group=www-data path=/var/www/selfoss recurse=yes state=directory
8
   action: file owner=root group=www-data path=/var/www/selfoss recurse=yes state=directory

+ 1
- 0
vars/defaults.yml View File

124
 selfoss_db_username: selfoss
124
 selfoss_db_username: selfoss
125
 # selfoss_db_password: (required)
125
 # selfoss_db_password: (required)
126
 selfoss_db_database: selfoss
126
 selfoss_db_database: selfoss
127
+selfoss_version: 2.14
127
 
128
 
128
 # git
129
 # git
129
 cgit_version: 0.10.1
130
 cgit_version: 0.10.1

Loading…
Cancel
Save