blob: 90d06916b51f579ef80d1d1ad50a237b8d3cbb52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
- name: Deploy custom config for awstats
template:
dest: "/etc/httpd/conf.d/{{ _website_domain }}.conf.d/awstats.conf"
src: awstats.conf
notify: verify config and restart httpd
- package:
name: python-passlib
state: present
- htpasswd:
path: /etc/httpd/htpasswd
name: "guest"
password: "{{ awstats_guest_password }}"
owner: root
group: apache
mode: 0640
|