+ remove include sub domains from hsts policy

This commit is contained in:
2024-08-01 23:41:36 +03:00
parent 034988c117
commit 7f393e79d7

View File

@ -59,6 +59,12 @@
tasks_from: 'main_env' tasks_from: 'main_env'
tags: [ 'role::apache', 'role::apache:env' ] tags: [ 'role::apache', 'role::apache:env' ]
post_tasks:
- name: Remove include subdomains for HSTS policy
shell: |-
sed -i '/; includeSubDomains/d' etc/apache2/sites-available/000-default.conf
roles: roles:
- role: apache - role: apache