If the remote user is not yet in the docker group (group membership added by install_docker.yml requires a new SSH session to take effect), all docker commands fail with permission denied. The playbook has no become: true fallback.
Fix
Add become: true to the play header, or document in the README that meta: reset_connection must be called (or a new SSH session opened) before running this playbook.
File:playbooks/docker_status.yml
## Problem
If the remote user is not yet in the `docker` group (group membership added by `install_docker.yml` requires a new SSH session to take effect), all docker commands fail with permission denied. The playbook has no `become: true` fallback.
## Fix
Add `become: true` to the play header, or document in the README that `meta: reset_connection` must be called (or a new SSH session opened) before running this playbook.
**File:** `playbooks/docker_status.yml`
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Problem
If the remote user is not yet in the
dockergroup (group membership added byinstall_docker.ymlrequires a new SSH session to take effect), all docker commands fail with permission denied. The playbook has nobecome: truefallback.Fix
Add
become: trueto the play header, or document in the README thatmeta: reset_connectionmust be called (or a new SSH session opened) before running this playbook.File:
playbooks/docker_status.yml