-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpiwik.yml
62 lines (52 loc) · 1.09 KB
/
piwik.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
- hosts: piwik
become: true
roles:
- base-preseed
- { role: maintenance,
maintenance: {
upgrade_type: "full",
allow_reboot: false
}
}
- hosts: piwik-dbs
sudo: true
roles:
- { role: mysql,
mysql: {
}
}
- hosts: piwik-masters
become: true
handlers:
- include: roles/nginx/handlers/main.yml
- include: roles/php-fpm/handlers/main.yml
roles:
- { role: nginx,
nginx: {
use_ppa: "yes",
ppa: "ppa:nginx/stable"
},
nginx_sites: {
test: "test"
}
}
- { role: php-fpm,
php: {
modules: ["php5-curl", "php5-gd", "php5-cli", "php5-geoip", "php-apc"]
}
}
- { role: piwik,
piwik: {
path: "/var/www/piwik-lmu/htdocs/",
src_url: "http://builds.piwik.org/piwik.zip"
}
}
# - { role: phpmyadmin,
# phpmyadmin: {
# test: "test"
# }
# }
tasks:
- name: "Copy NGINX Configuration for Piwik with PHP-FPM"
debug: msg="Test"