diff --git a/apache/tasks/main.yml b/apache/tasks/main.yml index a90a3144..cf3dc16b 100644 --- a/apache/tasks/main.yml +++ b/apache/tasks/main.yml @@ -197,22 +197,22 @@ regexp: '__PHPMYADMIN_SUFFIX__' replace: "{{ apache_phpmyadmin_suffix }}" -- block: - - name: generate random string for serverstatus suffix - command: "apg -a 1 -M N -n 1" - changed_when: False - register: _random_serverstatus_suffix - - - name: overwrite apache_serverstatus_suffix - set_fact: - apache_serverstatus_suffix: "{{ _random_serverstatus_suffix.stdout }}" - when: apache_serverstatus_suffix == "" - -- name: replace server-status suffix in default site index - replace: - dest: /var/www/index.html - regexp: '__SERVERSTATUS_SUFFIX__' - replace: "{{ apache_serverstatus_suffix }}" +# - block: +# - name: generate random string for serverstatus suffix +# command: "apg -a 1 -M N -n 1" +# changed_when: False +# register: _random_serverstatus_suffix +# +# - name: overwrite apache_serverstatus_suffix +# set_fact: +# apache_serverstatus_suffix: "{{ _random_serverstatus_suffix.stdout }}" +# when: apache_serverstatus_suffix == "" +# +# - name: replace server-status suffix in default site index +# replace: +# dest: /var/www/index.html +# regexp: '__SERVERSTATUS_SUFFIX__' +# replace: "{{ apache_serverstatus_suffix }}" - name: is umask already present? command: "grep -E '^umask ' /etc/apache2/envvars"