computer-playbook/roles/docker-wordpress/handlers/main.yml

15 lines
449 B
YAML
Raw Normal View History

---
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
- 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}}"
environment:
COMPOSE_HTTP_TIMEOUT: 600
2023-09-11 18:17:10 +02:00
DOCKER_CLIENT_TIMEOUT: 600