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 cache_valid_time: 3600
18 install_recommends: no
23 - name: Enable SSL module
28 - name: Configure apache
32 dest: /etc/apache2/conf-available
38 - name: Setup default host
42 dest: /usr/local/apache2
45 directory_mode: '0755'
50 command: a2enconf 001-phd
52 when: not phd_conf.stat.exists
54 - name: Configure logrotate
58 dest: /etc/logrotate.d