mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-22 20:51:07 +01:00
15 lines
449 B
YAML
15 lines
449 B
YAML
---
|
|
- 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
|
|
- name: recreate wordpress
|
|
command:
|
|
cmd: docker-compose -p wordpress up -d --force-recreate
|
|
chdir: "{{docker_compose_wordpress_path}}"
|
|
environment:
|
|
COMPOSE_HTTP_TIMEOUT: 600
|
|
DOCKER_CLIENT_TIMEOUT: 600 |