|
@@ -36,6 +36,16 @@
|
36
|
36
|
- name: Configure z-push apache alias and php settings
|
37
|
37
|
copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf.d/z-push.conf
|
38
|
38
|
notify: restart apache
|
39
|
|
-
|
|
39
|
+ when: ansible_distribution_release != 'trusty'
|
|
40
|
+
|
|
41
|
+- name: Create z-push apache alias and php configuration file for Ubuntu Trusty
|
|
42
|
+ copy: src=etc_apache2_conf.d_z-push.conf dest=/etc/apache2/conf-available/z-push.conf
|
|
43
|
+ when: ansible_distribution_release == 'trusty'
|
|
44
|
+
|
|
45
|
+- name: Enable z-push Apache alias and PHP configuration file for Ubuntu Trusty
|
|
46
|
+ command: a2enconf z-push creates=/etc/apache2/conf-enabled/z-push.conf
|
|
47
|
+ notify: restart apache
|
|
48
|
+ when: ansible_distribution_release == 'trusty'
|
|
49
|
+
|
40
|
50
|
- name: Configure z-push logrotate
|
41
|
51
|
copy: src=etc_logrotate_z-push dest=/etc/logrotate.d/z-push owner=root group=root mode=0644
|