Added get_domain function

This commit is contained in:
2025-05-17 14:53:55 +02:00
parent ad51597e2e
commit 3388d3c592
94 changed files with 288 additions and 141 deletions

View File

@@ -2,7 +2,7 @@
command: >
docker-compose exec -T -u www-data application
wp core install
--url="{{ web_protocol }}://{{ domains[application_id][0] }}"
--url="{{ web_protocol }}://{{ domains | get_domain(application_id)[0] }}"
--title="{{ applications[application_id].title }}"
--admin_user="{{ applications[application_id].users.administrator.username }}"
--admin_password="{{ applications[application_id].credentials.administrator_password }}"

View File

@@ -5,7 +5,7 @@
- name: Wait for Discourse API
wait_for:
host: "{{ domains.discourse }}"
host: "{{ domains | get_domain('discourse') }}"
port: 80
delay: 5
timeout: 600