fix(roles): apply review findings to the check-mode change
Guard gitea_runner's docker group membership like its Docker start, run user_management's getent probe unconditionally, and state the play-level check_mode limit in every touched README. The check-mode rule now allows the pihole guard form and names roles whose --check needs their package installed. Assisted-by: Claude Code
This commit is contained in:
1 parent
cf2286b7a7
commit
3afff00b9b
8 files changed
+17
-7
No files matched your search
@@ -36,6 +36,8 @@
|
||||
name: "{{ gitea_runner_user }}"
|
||||
groups: docker
|
||||
append: true
|
||||
# Under --check a new docker.io creates no docker group, and user fails on a missing group.
|
||||
when: not ansible_check_mode or __gitea_runner_docker_package is not changed
|
||||
tags: [gitea_runner, docker, install]
|
||||
|
||||
# Pulls ubuntu:24.04 from Docker Hub. Also proves Docker runs inside a container host
|
||||
|
||||
Reference in new issue
Block a user