Different small optimatiosn

This commit is contained in:
2025-04-23 13:25:52 +02:00
parent 1376930e5c
commit fd0a978a16
6 changed files with 16 additions and 12 deletions

View File

@@ -3,13 +3,19 @@
include_role:
name: docker-discourse
- name: Wait for Discourse API
wait_for:
host: "{{ domains.discourse }}"
port: 80
delay: 5
timeout: 600
- name: "Generate Discourse API Key when WP Discourse is enabled"
include_tasks: generate-api-key.yml
- name: "Load WP Discourse settings"
include_vars:
file: "{{ role_path }}/vars/discourse.yml"
# <— drop the `name:` here so `discourse_settings` is the list itself
- name: "Install WP Discourse plugin"
command: >

View File

@@ -7,13 +7,6 @@
args:
chdir: "{{ docker_compose.directories.instance }}"
- name: Wait for Discourse API
wait_for:
host: "{{ domains.discourse }}"
port: 80
delay: 5
timeout: 600
- name: "Activate OpenID Connect Generic Plugin"
command: >
docker-compose exec -u www-data -T application