|
@@ -45,8 +45,8 @@
|
45
|
45
|
- name: Restore old Selfoss data
|
46
|
46
|
shell: cp -r /root/selfoss/data_bak /var/www/selfoss/data || cp -r /root/selfoss/selfoss-{{ selfoss_version }}/data /var/www/selfoss/data
|
47
|
47
|
|
48
|
|
-- name: Delete old Selfoss source
|
49
|
|
- file: path=/root/selfoss state=absent
|
|
48
|
+- name: Delete old Selfoss data
|
|
49
|
+ file: path=/root/selfoss/data_bak state=absent
|
50
|
50
|
|
51
|
51
|
- name: Set selfoss ownership
|
52
|
52
|
action: file owner=www-data group=www-data path=/var/www/selfoss recurse=yes state=directory
|