Introduced SSL_ENABLED flag

This commit is contained in:
2025-12-02 13:51:22 +01:00
parent 5b18f39ccd
commit 4b5ba892ba
7 changed files with 15 additions and 12 deletions

View File

@@ -60,7 +60,7 @@
--path={{ WORDPRESS_DOCKER_HTML_PATH }}
register: wp_sr_scheme
changed_when: "{{ ('Success: Made 0 replacements.' not in wp_sr_scheme.stdout) | bool }}"
when: WEB_PORT == 443
when: SSL_ENABLED | bool
- name: Flush caches and rewrite rules
command: >