aboutsummaryrefslogtreecommitdiffstats
path: root/ansible/roles/web/tasks/main.yml
blob: b716f87648ac2161b7e85032ebb052220ddcf38d (plain)
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
- 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