]> git.phdru.name Git - ansible.git/blobdiff - playbooks/debian/roles/apache/tasks/main.yml
Fix conditions
[ansible.git] / playbooks / debian / roles / apache / tasks / main.yml
index b289d9419d2223378b721663adca2ff167b6c2dd..a5b662a36e9ccd94311bed8d017ccdb98c8271dc 100644 (file)
@@ -5,7 +5,7 @@
 
 - debug:
     msg: "apache has already been configured"
-  when: not phd_conf.stats.exists
+  when: phd_conf.stat.exists
 
 - name: Install apache
   become: true
     purge: yes
     state: latest
     update_cache: yes
-  when: not phd_conf.stats.exists
+  when: not phd_conf.stat.exists
 
 - name: Enable SSL module
   become: true
   command: a2enmod ssl
   notify: Reload apache
-  when: not phd_conf.stats.exists
+  when: not phd_conf.stat.exists
 
 - name: Configure apache
   become: true
     group: root
     mode: '0640'
     force: no
-  when: not phd_conf.stats.exists
+  when: not phd_conf.stat.exists
 
 - name: Enable config
   become: true
   command: a2enconf 001-phd
   notify: Reload apache
-  when: not phd_conf.stats.exists
+  when: not phd_conf.stat.exists
 
 - name: Configure logrotate
   become: true