From 5b56d81a5b334fa130992eb2caaa41060741f7c5 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 5 Aug 2022 18:00:10 +0200 Subject: [PATCH] Update to 2022-08-05 18:00 --- roles/docker_wordpress/tasks/main.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/roles/docker_wordpress/tasks/main.yml b/roles/docker_wordpress/tasks/main.yml index 9c931a5..f2aff0b 100644 --- a/roles/docker_wordpress/tasks/main.yml +++ b/roles/docker_wordpress/tasks/main.yml @@ -2,11 +2,12 @@ - name: Deploy docker-compose YML file with_items: "{{ wp_docker }}" - src: docker-compose.yml.j2 - dest: "{{ wp_docker_root_dir }}/{{ item.wp_docker_name }}/docker-compose.yml" - owner: bin - group: wheel - mode: '0644' + template: + src: docker-compose.yml.j2 + dest: "{{ wp_docker_root_dir }}/{{ item.wp_docker_name }}/docker-compose.yml" + owner: bin + group: wheel + mode: '0644' - name: Launch Wordpress containers with_items: "{{ wp_docker }}"