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

9 lines
235 B
YAML

---
- name: recreate wordpress
command:
cmd: docker-compose -p wordpress up -d --force-recreate
chdir: /home/administrator/docker-compose/wordpress/
environment:
COMPOSE_HTTP_TIMEOUT: 600
DOCKER_CLIENT_TIMEOUT: 600