+ remove include sub domains from hsts policy
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user