tags:
- docker
- packages
- apt: >
- name={{ item }}
- state=installed
- with_items:
- - apt-transport-https
- - ca-certificates
+ apt:
+ name: [
+ 'apt-transport-https',
+ 'ca-certificates',
+ ]
+ state: present
when: piwik_apt_repository.startswith("https://")
- name: install Piwik repository GnuPG key
- meta: flush_handlers
tags:
- - piwik
- - packages
+ - apt
- name: install "piwik"
tags:
+ - apt
- piwik
- 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