2022-02-02 12:12:08 +01:00
|
|
|
---
|
2023-09-11 18:17:10 +02:00
|
|
|
- name: rebuild wordpress container
|
|
|
|
command:
|
|
|
|
cmd: docker build --no-cache -t custom_wordpress .
|
|
|
|
chdir: "{{docker_compose_wordpress_path}}"
|
|
|
|
environment:
|
|
|
|
COMPOSE_HTTP_TIMEOUT: 600
|
|
|
|
DOCKER_CLIENT_TIMEOUT: 600
|
2022-02-02 12:12:08 +01:00
|
|
|
- name: recreate wordpress
|
|
|
|
command:
|
2023-04-19 00:03:13 +02:00
|
|
|
cmd: docker-compose -p wordpress up -d --force-recreate
|
2023-09-11 18:17:10 +02:00
|
|
|
chdir: "{{docker_compose_wordpress_path}}"
|
2022-02-02 12:12:08 +01:00
|
|
|
environment:
|
|
|
|
COMPOSE_HTTP_TIMEOUT: 600
|
2023-09-11 18:17:10 +02:00
|
|
|
DOCKER_CLIENT_TIMEOUT: 600
|