From 9206c1dc91727e53ad126b04d39c2fd6353f041f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 12 Sep 2022 17:15:16 +0300 Subject: apache_server: set default charset to utf8 Sponsored-by: author --- roles/apache_server/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/apache_server/tasks/main.yml b/roles/apache_server/tasks/main.yml index c4f348a..5509818 100644 --- a/roles/apache_server/tasks/main.yml +++ b/roles/apache_server/tasks/main.yml @@ -102,6 +102,12 @@ notify: - restart apache +- name: set default charset to utf8 + copy: + content: | + AddDefaultCharset UTF-8 + dest: /etc/apache2/conf-available/charset.conf + - name: "install htpasswd files" copy: content: "{{ item.htpasswd }}" -- cgit v1.2.1