mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented variable mapping to reduce complexity
This commit is contained in:
@@ -17,7 +17,7 @@ services:
|
||||
WORDPRESS_DB_NAME: "{{database_databasename}}"
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
@@ -25,7 +25,7 @@ services:
|
||||
{% endif %}
|
||||
|
||||
volumes:
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
{% if not enable_central_database %}
|
||||
database:
|
||||
{% endif %}
|
||||
data:
|
||||
|
Reference in New Issue
Block a user