aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/tasks
diff options
context:
space:
mode:
authorLasse Haugen <haugen.lasse@gmail.com>2019-02-13 22:38:48 +0100
committerGitHub <noreply@github.com>2019-02-13 22:38:48 +0100
commit1bb5fc0f3312be948d3aefaf7ab0a28fe722a656 (patch)
tree4899dd2abfb4258d18320ac5ce61c75caa187a13 /ansible/roles/web/tasks
parentd2b78315de847fd7bd22c4112908414ab7eb7967 (diff)
parent65be318e53ceb6f5e6022e24fd585930f4477dda (diff)
Merge pull request #201 from slinderud/master
#159 Fixed templating install, included updated varnish config, updated installing.rst and clean-up on servicefiles
Diffstat (limited to 'ansible/roles/web/tasks')
-rw-r--r--ansible/roles/web/tasks/main.yml17
1 files changed, 16 insertions, 1 deletions
diff --git a/ansible/roles/web/tasks/main.yml b/ansible/roles/web/tasks/main.yml
index 1c89947..ddbf74d 100644
--- a/ansible/roles/web/tasks/main.yml
+++ b/ansible/roles/web/tasks/main.yml
@@ -31,7 +31,9 @@
'libxml2-dev',
'build-essential',
'cpanminus',
- 'apt-transport-https']
+ 'apt-transport-https',
+ 'python3-netaddr',
+ 'python3-flask']
state: present
- name: Add packagecloud.io Varnish apt key.
@@ -59,6 +61,12 @@
notify:
- reload systemd
+- name: Copy varnish-acl config
+ copy:
+ dest: /etc/varnish/auth.vcl
+ src: auth.vcl
+ notify: restart varnish
+
- name: Copy varnish config
copy:
dest: /etc/varnish/default.vcl
@@ -87,3 +95,10 @@
- name: Install InfluxDB module
cpanm:
name: AnyEvent::InfluxDB
+
+- name: add systemd service file for gondul-template
+ copy:
+ dest: /etc/systemd/system/gondul-template.service
+ src: gondul-template.service
+ notify: restart gondul-template
+