mailcow.yml aktualisiert

This commit is contained in:
olli 2023-08-25 13:22:30 +02:00
parent 48c82cbfc5
commit 1200d208ec

View File

@ -79,7 +79,7 @@
- Restart mailcow
- name: Start/initialize mailcow
ansible.builtin.shell: docker-compose up -d
ansible.builtin.shell: docker-compose up -d --force-recreate
args:
chdir: /home/docker/mailcow-dockerized
creates: /home/docker/var-lib-docker/volumes/mailcowdockerized_vmail-vol-1/_data/sieve/global_sieve_after.sieve
@ -181,7 +181,7 @@
g_echo_error "MailCow Update fehlgeschlagen $(cat $g_tmp/mailcow-update)"
fi
fi
docker compose up -d
docker compose up -d --force-recreate
fi
fi
# take letsencrypt-certs from traefik
@ -319,12 +319,12 @@
handlers:
- name: Restart mailcow
ansible.builtin.shell: docker-compose up -d
ansible.builtin.shell: docker-compose up -d --force-recreate
args:
chdir: /home/docker/mailcow-dockerized
- name: Restart autoconfig
ansible.builtin.shell: docker-compose up -d
ansible.builtin.shell: docker-compose up -d --force-recreate
args:
chdir: /home/docker/autoconfig.{{inventory_hostname}}