4 - name: install "apt-transport-https" and "ca-certificates"
14 when: piwik_apt_repository.startswith("https://")
16 - name: install Piwik repository GnuPG key
21 dest=/etc/apt/trusted.gpg.d/
27 - update APT repositories
29 - name: install Piwik repository configuration
34 dest=/etc/apt/sources.list.d/piwik.list
40 - update APT repositories
42 - meta: flush_handlers
47 - name: install "piwik"
55 - name: install Piwik configuration
59 dest=/etc/piwik/config.ini.php
66 - name: install Piwik "htaccess" configuration
70 dest=/etc/piwik/.htaccess
77 - name: make JavaScript tracker writable
84 path=/usr/share/piwik/piwik.js
86 - name: install Apache VHost configuration for Piwik
91 dest=/etc/apache2/sites-available/piwik.conf
95 src=apache2_piwik_vhost.conf.j2
99 - name: enable Apache VHost configuration for Piwik
104 dest=/etc/apache2/sites-enabled/piwik.conf
107 src=/etc/apache2/sites-available/piwik.conf
112 - name: install Piwik PHP configuration
117 dest=/etc/php5/apache2/conf.d/99-piwik.ini