ansible-role-apache/tasks/configuration.yml

21 lines
533 B
YAML
Raw Normal View History

2021-07-28 03:11:08 +02:00
- name: "configuration: Server-Tokens deaktivieren"
lineinfile:
path: /etc/apache2/conf-enabled/security.conf
regexp: '^ServerTokens OS'
line: ServerTokens Prod
notify: reload apache2
- name: "configuration: Deaktiviere access-Logs"
command: a2disconf other-vhosts-access-log
notify: reload apache2
2021-07-28 09:56:47 +02:00
- name: "configuration: Kopiere Dateien"
copy:
src: "{{ item }}"
dest: "/etc/apache2/conf-available/{{ item }}"
loop:
- add-headers.conf
2021-07-28 11:24:28 +02:00
- letsencrypt.conf
2022-07-26 17:45:32 +02:00
- sao-cache.conf
2021-07-28 09:56:47 +02:00
- ssl.conf