matrix-docker-ansible-deploy/roles
Slavi Pantaleev 512f42aa76 Do not report docker kill/rm attempts as errors
These are just defensive cleanup tasks that we run.
In the good case, there's nothing to kill or remove, so they trigger an
error like this:

> Error response from daemon: Cannot kill container: something: No such container: something

and:

> Error: No such container: something

People often ask us if this is a problem, so instead of always having to
answer with "no, this is to be expected", we'd rather eliminate it now
and make logs cleaner.

In the event that:
- a container is really stuck and needs cleanup using kill/rm
- and cleanup fails, and we fail to report it because of error
suppression (`2>/dev/null`)

.. we'd still get an error when launching ("container name already in use .."),
so it shouldn't be too hard to investigate.
2021-01-27 10:22:46 +02:00
..
matrix-aux Add matrix-aux role to help with managing auxiliary files/directories 2021-01-11 22:32:52 +02:00
matrix-base Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bot-matrix-reminder-bot Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-appservice-discord Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-appservice-irc Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-appservice-slack Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-appservice-webhooks Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mautrix-facebook Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mautrix-hangouts Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mautrix-signal Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mautrix-telegram Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mautrix-whatsapp Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-discord Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-instagram Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-skype Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-slack Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-steam Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-mx-puppet-twitter Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-bridge-sms Work around annoying Docker warning about undefined $HOME 2021-01-15 00:23:01 +02:00
matrix-client-element Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-common-after/tasks Replace cronjobs with systemd timers 2021-01-14 23:35:50 +02:00
matrix-corporal Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-coturn Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-dimension Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-dynamic-dns Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-email2matrix Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-jitsi Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-ma1sd Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-mailer Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-nginx-proxy Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-postgres Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-registration Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-synapse Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00
matrix-synapse-admin Do not report docker kill/rm attempts as errors 2021-01-27 10:22:46 +02:00