mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Different small optimatiosn
This commit is contained in:
@@ -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: >
|
||||
|
@@ -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
|
||||
|
@@ -242,4 +242,4 @@ discourse_settings:
|
||||
#
|
||||
- name: discourse_logs
|
||||
key: logs-enabled
|
||||
value: {{ enable_debug }}
|
||||
value: "{{ enable_debug }}"
|
||||
|
Reference in New Issue
Block a user