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
12 - name: Install apache
17 install_recommends: no
22 - name: Enable SSL module
27 - name: Configure apache
31 dest: /etc/apache2/conf-available
37 - name: Setup default host
41 dest: /usr/local/apache2
44 directory_mode: '0755'
49 command: a2enconf 001-phd
51 when: not phd_conf.stat.exists
53 - name: Configure logrotate
57 dest: /etc/logrotate.d