[P3] docker_status.yml missing become: true #9
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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