Coute
Coute
Better way, use only one handler and ask ansible to reload systemd daemon before restarting docker https://docs.ansible.com/ansible/latest/collections/ansible/builtin/systemd_module.html
I had an env variable in group_vars : ``` docker__daemon_environment: - "ENV_VAR=true" ``` And run a playbook : ``` TASK [nickjj.docker : Configure Docker daemon environment variables] *********** changed: [dev1]...
``` coute@dev1:~/$ docker-compose pull stop_detector Pulling stop_detector ... done ``` It's fine.
But I found an other issue. I removed docker__daemon_environment from my group_vars file and the environment file in systemd remain the same. Template is not updated. No change in playbook.
It's due to ``` when: docker__daemon_environment | d() ``` If the variable is not set the task is skipped. Adding a task that remove the file when it exists and...
Something like that will work. Need to be test.
Same issue for me : Direct connect is working, but the server cannot be find through Steam or in game. I have rebuilt the image. The log is not the...