3 path: /etc/apache2/conf-enabled/001-phd.conf
5 changed_when: not phd_conf.stat.exists
8 msg: "apache has already been configured"
9 when: phd_conf.stat.exists
11 - name: Install apache
16 install_recommends: no
21 when: not phd_conf.stat.exists
23 - name: Enable SSL module
27 when: not phd_conf.stat.exists
29 - name: Configure apache
33 dest: /etc/apache2/conf-available
38 when: not phd_conf.stat.exists
42 command: a2enconf 001-phd
44 when: not phd_conf.stat.exists
46 - name: Configure logrotate
50 dest: /etc/logrotate.d