my debian-11 journey
my experience when installing on an debian-11:
TASK [security : load apt key] *************************************************************************************************** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
TASK [security : load apt key] *************************************************************************************************** fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/usr/bin/apt-key --keyring /etc/apt/trusted.gpg.d/debian.gpg add -", "msg": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\ngpg: error running '/usr/bin/gpg-agent': probably not installed\ngpg: failed to start agent '/usr/bin/gpg-agent': Configuration error\ngpg: can't connect to the agent: Configuration error", "rc": 2, "stderr": "Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).\ngpg: error running '/usr/bin/gpg-agent': probably not installed\ngpg: failed to start agent '/usr/bin/gpg-agent': Configuration error\ngpg: can't connect to the agent: Configuration error\n", "stderr_lines": ["Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).", "gpg: error running '/usr/bin/gpg-agent': probably not installed", "gpg: failed to start agent '/usr/bin/gpg-agent': Configuration error", "gpg: can't connect to the agent: Configuration error"], "stdout": "", "stdout_lines": []}
manually: apt-get install gpg-agent
also, it tells that apt-key is outdated way of handle this...
type: so-lala workaround .......
it fails at ufw.
´https://stackoverflow.com/questions/37268358/ansible-ufw-module-error-could-not-find-a-profile-matching-xxxxx´
i solved it in the quick by adding an /etc/ufw/applications.d/ufw-workadventure with content
[3478_tcp]
title=workadventure 3478tcp
description=workadventure 3478tcp
ports=3478/tcp
... (repeat for all the other ports)
unfortunately, i had so to rewrite the content of roles/security/tasks/ufw.yml from 3478/tcp to 3487_tcp, as it seems to dislike / in names. :-/
type: dirty-hack
...............
then, the cgroup-bin is not found in debian-11
according to https://packages.debian.org/buster/cgroup-bin, this is anyway a transitional-package (also in buster aka 10), no longer needed ; commented out.
type: hack; could be fixed with a os-dependent switch in ansible .............
found, that the docker-compose.yaml had not the PUSHER_URL set. ( https://github.com/thecodingmachine/workadventure/blob/develop/contrib/docker/docker-compose.prod.yaml#L40 - api... did point to pusher...
for debugging, just start docker-compser up ( without the -d ) .. that told me enough to fix a few things.
... to-be-continued
solved the gpg problem for the future in: https://github.com/devnope/ansible-workadventure/commit/acd53d9c44f526e5be2687d88c8f6fbcaef29bc7
fixed the ufw issue in https://github.com/devnope/ansible-workadventure/commit/e5d90216ea9abb401cfdfcca15851b93968d422d
fixed pusher in https://github.com/devnope/ansible-workadventure/commit/c50d6a258f0ea077970edde3a83967b185c8fc5b
regarding cgroup: I was thinking to remove the cgroup-bin package, say valar morghulis and call it a day... I am still not sure... will fix it.
Sorry, that you had so much trouble with this repo. I just don't find it in me at the moment to actively put the time needed into the project.