Refactored use of variables

This commit is contained in:
2023-12-05 18:45:26 +01:00
parent 5ca94d6ecc
commit 3b06b5bcf4
50 changed files with 107 additions and 102 deletions

View File

@@ -2,14 +2,14 @@
- name: rebuild wordpress container
command:
cmd: docker build --no-cache -t custom_wordpress .
chdir: "{{docker_compose_wordpress_path}}"
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600
- name: recreate wordpress
command:
cmd: docker-compose -p wordpress up -d --force-recreate
chdir: "{{docker_compose_wordpress_path}}"
chdir: "{{docker_compose_instance_directory}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600