|
@@ -44,16 +44,19 @@
|
44
|
44
|
- name: Configure z-push apache alias and php settings
|
45
|
45
|
copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf.d/z-push.conf
|
46
|
46
|
notify: restart apache
|
47
|
|
- when: ansible_distribution_release != 'trusty'
|
|
47
|
+ when: ansible_distribution_release != 'trusty' or ansible_distribution_release != 'jessie'
|
48
|
48
|
|
49
|
|
-- name: Create z-push apache alias and php configuration file for Ubuntu Trusty
|
|
49
|
+
|
|
50
|
+- name: Create z-push apache alias and php configuration file for Ubuntu Trusty / jessie
|
50
|
51
|
copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf-available/z-push.conf
|
51
|
|
- when: ansible_distribution_release == 'trusty'
|
|
52
|
+ when: ansible_distribution_release == 'trusty' or ansible_distribution_release == 'jessie'
|
|
53
|
+
|
52
|
54
|
|
53
|
|
-- name: Enable z-push Apache alias and PHP configuration file for Ubuntu Trusty
|
|
55
|
+- name: Enable z-push Apache alias and PHP configuration file for Ubuntu Trusty / jessie
|
54
|
56
|
command: a2enconf z-push creates=/etc/apache2/conf-enabled/z-push.conf
|
55
|
57
|
notify: restart apache
|
56
|
|
- when: ansible_distribution_release == 'trusty'
|
|
58
|
+ when: ansible_distribution_release == 'trusty' or ansible_distribution_release == 'jessie'
|
|
59
|
+
|
57
|
60
|
|
58
|
61
|
- name: Configure z-push logrotate
|
59
|
62
|
copy: src=etc_logrotate_z-push dest=/etc/logrotate.d/z-push owner=root group=root mode=0644
|