11 lines
320 B
YAML
11 lines
320 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
|