adapting mariadb role to rabbitmq...