diff --git a/wordpress.yml b/wordpress.yml index 0195828..5e96511 100644 --- a/wordpress.yml +++ b/wordpress.yml @@ -179,7 +179,7 @@ notify: Restart wordpress - name: Start wordpress - ansible.builtin.shell: docker-compose up -d + ansible.builtin.shell: docker-compose up -d --force-recreate args: chdir: /home/docker/wordpress.{{inventory_hostname}} creates: /home/docker/wordpress.{{inventory_hostname}}/db-data/sys/db.opt @@ -234,7 +234,7 @@ ansible.builtin.shell: bash /home/docker/wordpress.{{inventory_hostname}}/wordpress.init.sh - name: Restart wordpress - ansible.builtin.shell: docker-compose up -d + ansible.builtin.shell: docker-compose up -d --force-recreate args: chdir: /home/docker/wordpress.{{inventory_hostname}}