[P3] docker_status.yml missing become: true #9

Closed
opened 2026-03-22 18:04:11 +00:00 by jeet · 0 comments
Owner

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

## 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`
jeet closed this issue 2026-03-22 18:14:21 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jeet/OCI_Build#9