aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/tasks
diff options
context:
space:
mode:
authorOle Mathias Heggem <ole@sdok.no>2017-04-19 23:16:07 +0200
committerOle Mathias Heggem <ole@sdok.no>2017-04-19 23:16:07 +0200
commit7b97188b728c85c498acc8acdce1750c472f2c85 (patch)
tree12c1436ab7eb97e9434e774671e8ffea134d61db /ansible/roles/web/tasks
parentf70f65f7466a480a45a8260b35887cb7ed36b466 (diff)
parent7d404abf07d865d253ac2cfc353741e8d4af4867 (diff)
Merge remote-tracking branch 'refs/remotes/tech-server/master'
Diffstat (limited to 'ansible/roles/web/tasks')
-rw-r--r--ansible/roles/web/tasks/main.yml44
1 files changed, 44 insertions, 0 deletions
diff --git a/ansible/roles/web/tasks/main.yml b/ansible/roles/web/tasks/main.yml
new file mode 100644
index 0000000..b716f87
--- /dev/null
+++ b/ansible/roles/web/tasks/main.yml
@@ -0,0 +1,44 @@
+- name: Install front-packages
+ apt:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - libcapture-tiny-perl
+ - libcommon-sense-perl
+ - libdata-dumper-simple-perl
+ - libdbd-pg-perl
+ - libdbi-perl
+ - libdigest-perl
+ - libgd-perl
+ - libgeo-ip-perl
+ - libhtml-parser-perl
+ - libhtml-template-perl
+ - libjson-perl
+ - libjson-xs-perl
+ - libnetaddr-ip-perl
+ - libnet-cidr-perl
+ - libnet-ip-perl
+ - libnet-oping-perl
+ - libnet-rawip-perl
+ - libsnmp-perl
+ - libsocket6-perl
+ - libsocket-perl
+ - libswitch-perl
+ - libtimedate-perl
+ - perl
+ - perl-base
+ - perl-modules
+ - libfreezethaw-perl
+ - apache2
+
+- apache2_module:
+ state: present
+ name: cgid
+ notify: restart apache
+- command: a2dissite 000-default
+ ignore_errors: true
+- name: Enable gondul-config
+ copy:
+ dest: /etc/apache2/sites-enabled/
+ src: gondul.conf
+ notify: restart apache