2 apt: name=apache2,python-netaddr state=latest
4 service: name=apache2 enabled=yes
15 - name: disable modules
22 - name: install log anonymization script
24 dest: /etc/apache2/log-anon
27 - name: install shared config files
29 dest: /etc/apache2/conf-available/{{ item }}
37 - name: enable config files
38 command: a2enconf {{ item }}
40 creates: /etc/apache2/conf-enabled/{{ item }}.conf
45 - name: disable config files
46 command: a2disconf {{ item }}
48 removes: /etc/apache2/conf-enabled/{{ item }}.conf
50 - other-vhosts-access-log
52 - name: install default site
54 dest: /etc/apache2/sites-available/000-default.conf
55 src: templates/000-default.conf