20 lines
533 B
YAML
20 lines
533 B
YAML
- 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
|
|
|
|
- name: "configuration: Kopiere Dateien"
|
|
copy:
|
|
src: "{{ item }}"
|
|
dest: "/etc/apache2/conf-available/{{ item }}"
|
|
loop:
|
|
- add-headers.conf
|
|
- letsencrypt.conf
|
|
- sao-cache.conf
|
|
- ssl.conf
|