diff --git a/gitea.yml b/gitea.yml index 2987248..52c06f0 100644 --- a/gitea.yml +++ b/gitea.yml @@ -188,7 +188,7 @@ notify: Restart gitea - name: Start gitea - ansible.builtin.shell: docker-compose up -d + ansible.builtin.shell: docker-compose up -d --force-recreate args: chdir: /home/docker/gitea.{{inventory_hostname}} creates: /home/docker/gitea.{{inventory_hostname}}/data/gitea/conf/app.ini @@ -248,7 +248,7 @@ ansible.builtin.shell: bash /home/docker/gitea.{{inventory_hostname}}/gitea.init.sh >/home/docker/gitea.{{inventory_hostname}}/gitea.init.log 2>&1 - name: Restart gitea - ansible.builtin.shell: docker-compose up -d + ansible.builtin.shell: docker-compose up -d --force-recreate args: chdir: /home/docker/gitea.{{inventory_hostname}}