From 1ec6b469cf7a9eefc16e09a33d7a656a01c35cf7 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 9 Aug 2022 16:00:07 +0200 Subject: [PATCH] Update to 2022-08-09 16:00 --- roles/docker_wordpress/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/docker_wordpress/tasks/main.yml b/roles/docker_wordpress/tasks/main.yml index 578d52c..528bff6 100644 --- a/roles/docker_wordpress/tasks/main.yml +++ b/roles/docker_wordpress/tasks/main.yml @@ -26,10 +26,12 @@ group: wheel mode: '0644' + - name: Restart Docker # Unfortunately, this is necessary, we need to improve the functioning of iptable before + service: name=docker state=restarted + - name: Launch containers with_items: "{{ wpdocker }}" - command: "echo 'docker-compose -f {{ wpdocker_root_dir }}/conf/{{ item.wpdocker_name }}/docker-compose.yml up -d'" - # command: "docker-compose -f {{ wpdocker_root_dir }}/conf/{{ item.wpdocker_name }}/docker-compose.yml" up -d + command: "docker-compose -f {{ wpdocker_root_dir }}/conf/{{ item.wpdocker_name }}/docker-compose.yml up -d" # - name: Send an welcome email message # TODO