]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/piwik/tasks/main.yml
Correctly cast variables to integers in Jinja templates
[AnsibleRoles.git] / roles / piwik / tasks / main.yml
index 6442168ca9305da17dab28230595b8b532db98d4..3beeb553ade6655b8a110b03a6f2bfa19530f743 100644 (file)
@@ -7,7 +7,7 @@
     - packages
   apt: >
     name={{ item }}
-    state=installed
+    state=present
   with_items:
     - apt-transport-https
     - ca-certificates
@@ -50,7 +50,7 @@
     - packages
   apt: >
     name=piwik
-    state=installed
+    state=present
 
 - name: install Piwik configuration
   tags:
     owner=root
     path=/usr/share/piwik/piwik.js
 
+- name: remove README.md.gz, to make self-check happy
+  tags:
+    - piwik
+  file: >
+    state=absent
+    path=/usr/share/doc/piwik/README.md.gz
+
 - name: install Apache VHost configuration for Piwik
   tags:
     - piwik
     owner=root
     src=apache2_piwik_vhost.conf.j2
   notify:
-    - restart "apache2"
+    - reload "apache2" (graceful)
 
 - name: enable Apache VHost configuration for Piwik
   tags:
     src=/etc/apache2/sites-available/piwik.conf
     state=link
   notify:
-    - restart "apache2"
+    - reload "apache2" (graceful)
 
 - name: install Piwik PHP configuration
   tags: