mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-24 21:51:03 +01:00
15 lines
457 B
YAML
15 lines
457 B
YAML
---
|
|
- name: rebuild wordpress container
|
|
command:
|
|
cmd: docker build --no-cache -t custom_wordpress .
|
|
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_instance_directory}}"
|
|
environment:
|
|
COMPOSE_HTTP_TIMEOUT: 600
|
|
DOCKER_CLIENT_TIMEOUT: 600 |