ansible-role-apache/tasks/configuration.yml
2021-07-28 03:11:08 +02:00

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