aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/tasks
diff options
context:
space:
mode:
authorKristian Lyngstøl <kly@kly.no>2017-12-27 11:58:46 +0100
committerGitHub <noreply@github.com>2017-12-27 11:58:46 +0100
commit394893ce787840973021902f2dfb79a32399b35b (patch)
tree4d0b7fbbdbaa990beec3887b236d7135e212a7c1 /ansible/roles/web/tasks
parent1e1c6d13c3a1a7da9c1fe94bcbc7a5277d433ac1 (diff)
parent89820523f38764de506b9b43755bdaf247d38b33 (diff)
Merge pull request #164 from msbone/influx
InfluxDB, charting and a few fixes to Ansible
Diffstat (limited to 'ansible/roles/web/tasks')
-rw-r--r--ansible/roles/web/tasks/main.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/ansible/roles/web/tasks/main.yml b/ansible/roles/web/tasks/main.yml
index b716f87..3eb4279 100644
--- a/ansible/roles/web/tasks/main.yml
+++ b/ansible/roles/web/tasks/main.yml
@@ -30,15 +30,36 @@
- perl-modules
- libfreezethaw-perl
- apache2
+ - libapache2-mod-proxy-html
+ - libxml2-dev
+ - build-essential
+ - cpanminus
+ - apt-transport-https
- apache2_module:
state: present
name: cgid
notify: restart apache
+- apache2_module:
+ state: present
+ name: proxy
+ notify: restart apache
+- apache2_module:
+ state: present
+ name: proxy_http
+ notify: restart apache
+- name: Enable gondul-config
+ copy:
+ dest: /etc/apache2/sites-enabled/
+ src: gondul.conf
+ notify: restart apache
- command: a2dissite 000-default
ignore_errors: true
+ notify: restart apache
- name: Enable gondul-config
copy:
dest: /etc/apache2/sites-enabled/
src: gondul.conf
notify: restart apache
+- cpanm:
+ name: AnyEvent::InfluxDB